Embed Your Chat Agent We provide a simple way to embed Brewit.ai’s Chat
Agent into your application, allowing your customers to interact with their
data seamlessly.
Get Started
You will need to create API keys first to embed the chat agent into your application.1
Generate JWT
Use your API keys to generate a JWT token. This token will be used to
authenticate the user and provide access to the chat agent. Check out the
API doc here.
2
Embed Chat Agent
Use the JWT token to embed the chat agent into your application. You can
find the workspace_id and resource_id under the developer section in
your data source page.
The minimum height and width of the iframe should be 350x350 pixels.
Examples
Platform | Github Link |
---|---|
React | WIP |
Streamlit | https://github.com/DeLiquid/embed-demo-streamlit |