- Lightweight ~100-150kb gzipped bundle
- Fully customizable colors and branding
- Responsive design (desktop popup, mobile fullscreen)
- Real-time streaming responses via SSE
- Session persistence across page reloads
Deployment Options
Cloud Deployment (Recommended)
For Gorbit Cloud users, the widget is served from Gorbit’s CDN. Simply add the following to your website:Self-Hosted Deployment
For self-hosted Gorbit instances, you’ll need to build and host the widget yourself.1
Clone the repository
Clone the Gorbit repository from GitHub.
2
Navigate to widget directory
3
Install dependencies
4
Obtain a widget API key
Navigate to your Gorbit admin panel and create a new API key specifically for the widget.

5
Configure environment (optional)
For builds with baked-in configuration, create a Edit
.env file:.env and set your backend URL and API key:6
Build the widget
For cloud-style deployment (config via HTML attributes):For self-hosted deployment (config baked into bundle):
7
Deploy the bundle
Upload
dist/gorbit-widget.js to your CDN or web server.Customer Embed Code
After deployment, provide customers with the embed code: Cloud-style (attributes required):Configuration Reference
Required Attributes
backend-url
The URL of your Gorbit backend API. This is where the widget sends chat requests.
- Gorbit Cloud: Use
https://cloud.gorbit.appor your tenant-specific URL - Self-hosted: Use your Gorbit instance URL (e.g.,
https://gorbit.yourcompany.com)
api-key
A valid Gorbit API key for authenticating widget requests. This key is visible in client-side code,
so always use a limited-scope key.
For self-hosted builds with baked-in config,
backend-url and api-key can be set via environment variables during build instead of HTML attributes.Optional Attributes
API Key Security
1
Create a widget-specific API key
In your Gorbit admin panel, create a new API key with minimal permissions.
2
Enable rate limiting
Configure rate limits appropriate for your expected usage.
3
Monitor usage
Regularly review API key usage for unusual patterns.
Browser Support
- Chrome/Edge 90+ (Chromium)
- Firefox 90+
- Safari 15+
- Mobile Safari (iOS 15+)
- Mobile Chrome (Android)
Need help with setup? Contact your Gorbit administrator for API key configuration or deployment assistance.