Bongentic Demo / Test Site

Usage Instructions

Welcome to the multi-environment testing page! This page is configured to test our widget against the multiple backends.

You can use various combinations of the configuration options below to ensure the widget behaves correctly in different scenarios.

The widget will automatically reconnect when you change settings. Watch for any console errors or unexpected behavior.

Environment Configuration

Configure which environment to load the widget from and target for API calls:

Current environment: Develop

Enter stage name to auto-generate URLs in the format: https://[stage-name].bongentic.com

Override the widget script URL for testing. Leave empty to use environment default.

Override the API proxy target URL. Leave empty to use environment default.

Override the API secret for authentication. Leave empty to use environment default.

Current Configuration:

Widget Script:
https://develop.bongentic.com/widgets/drop-in/bonterra-agent.min.js
API Proxy Target:
https://develop.bongentic.com
Widget API Endpoint:
/api/widget-proxy
API Secret:
Using environment default

Widget Configuration (Dynamic Testing)

In a real deployment, these are set by the site that installs the widget.

Snowflake Demo Configuration

Demo mode uses simulated data instead of connecting to Snowflake. Useful for development and demonstrations.

Testing Authentication Parameters for JWT

In a real deployment, these are set by the proxy layer. The user cannot set them directly.

CSS Compatibility Testing

Test widget behavior with different CSS frameworks and font-size configurations.

Pixel mode forces pixel-based font sizes to prevent inheritance issues like Bootstrap 4's 62.5% reduction.

(Check browser console for logs)

CSS Framework Simulation:

Bootstrap 4 sets html font-size to 62.5%, making widget text very small. Use these buttons to test the CSS compatibility system.

Generated Integration Code:

<!-- Environment: Develop (Develop) -->
<!-- Widget Script: https://develop.bongentic.com/widgets/drop-in/bonterra-agent.min.js -->
<!-- API Target: https://develop.bongentic.com (via local proxy) -->

<script src="https://develop.bongentic.com/widgets/drop-in/bonterra-agent.min.js"></script>
<bonterra-agent
  site-id="test-site-123"
  position="bottom-right"
  agent-id="fundraising-coach"
  endpoint="/api/widget-proxy"
  title="Fundraising Coach"
></bonterra-agent>