Launch Chat Agents
Synthflow offers two ways to launch a chat agent: API integration and an embeddable chat widget for your website or app.
1. API Integration
After deploying your chat agent, you can start a new chat conversation programmatically using the API:
- Replace
{chat_id}with a unique UUID for the conversation. - Replace
{model_id}with the ID of your chat agent.
You can use this endpoint to send and receive messages, manage sessions, and integrate chat into any custom application.
2. Embeddable Chat Widget
Synthflow provides an out-of-the-box chat widget you can embed on your website or in your app:
- Create a chat agent in the Synthflow dashboard.
- Go to the chat agent’s Settings and Deployment tab.
- Copy the provided embed code.
- Paste the embed code into your website or application where you want the chat widget to appear.
The widget is fully managed by Synthflow, making it easy to add conversational AI to your site with minimal setup.