Step 1: Set Up Your Chatbase AI agent
To integrate your Chatbase AI agent into your Bubble application, begin by logging into your Chatbase account. If you haven’t already created an account, you can sign up for a free account. After signing in, you can configure you agent within the Chatbase platform by uploading relevant data sources, such as files, text snippets, websites, or question-and-answer pairs, which the agent can use to build its knowledge base. Here is a step-by-step roadmap for successfully deploying your Chatbase agent.Step 2: Generate and Copy Your Chatbase AI agent Embed Code
1. Every agent you create on Chatbase has a unique embed code you can use to embed it on your website. Once you’ve set up your agent on Chatbase, navigate to your Dashboard page, and select the specific agent you wish to integrate with your Bubble application.

![Chat Widget [Manage]](https://mintlify.s3.us-west-1.amazonaws.com/chatbase/user-guides/integrations/images/Integrations/chatwidget-manage.png)

Step 3: Embed Chatbase AI agent on Your Bubble App
1. Once you’ve copied your Chatbase embed code, sign into your Bubble account and head to your account dashboard. 2. On your dashboard, pick out the Bubble app or website you wish to embed the agent on and click the Launch Editor button next to it.



Note: You can customize the appearance and colors of your agent on your Chatbase dashboard. To do this, go to your dashboard, choose an agent, click the Deploy tab on the top of the page, and then click Manage Chat Widget on the left sidebar to reveal the agent customization options.