> ## Documentation Index
> Fetch the complete documentation index at: https://docs.recomi.powerdrill.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Integrate Recomi AI Agent with Bubble

> Follow this step-by-step guide to seamlessly integrate a Recomi AI agent with Bubble, enhancing your website's interactive capabilities.

## Step 1: Setting Up Your Recomi AI Agent

To embed a Recomi AI agent into your [**Bubble**](https://bubble.io/) application, start by logging into your Recomi account. If you don't have an account yet, you can create one for free. After logging in, configure your agent within the Recomi platform by uploading relevant data sources, such as text file, documents, which will help the agent build its knowledge base.

Follow these steps to ensure a smooth integration of your Recomi AI agent into your Bubble app.

## Step 2: Generate and Copy Your Recomi AI Agent Embed Code

1. Every agent created in Recomi comes with a unique embed code that allows it to be integrated into your website or application. Once your agent is set up, navigate to the [**Dashboard**](https://recomi.powerdrill.ai/agents) and select the specific agent you want to integrate with Bubble.

<img src="https://mintcdn.com/powerdrillrecomi/v6rfruEFIsCgPOdH/images/agent_list.png?fit=max&auto=format&n=v6rfruEFIsCgPOdH&q=85&s=90f2a63218563e4cccc6865331aa3ea8" width="1450" height="494" data-path="images/agent_list.png" />

2. Clicking on the agent will take you to its agent detailed page. From here, go to the **Integration** section.

3. On this page, you will find the option of **Embed a chat bubble** to Copy Script. Click this button to copy the agent's embed SDK Code.

<img src="https://mintcdn.com/powerdrillrecomi/v6rfruEFIsCgPOdH/images/agent_bubble_code.png?fit=max&auto=format&n=v6rfruEFIsCgPOdH&q=85&s=838cfdc89eacbdb56835ac6946f088c7" width="2958" height="1770" data-path="images/agent_bubble_code.png" />

## Step 3: Embedding the Recomi AI Agent into Your Bubble Application

1. After copying the embed code, log into your [**Bubble**](https://bubble.io/) account and access your dashboard.

<img src="https://mintcdn.com/powerdrillrecomi/v6rfruEFIsCgPOdH/images/bubble_1.png?fit=max&auto=format&n=v6rfruEFIsCgPOdH&q=85&s=fa62c1cf173f0ce5ccec6156815311bc" width="3468" height="924" data-path="images/bubble_1.png" />

2. Select the Bubble app or website where you want to integrate the agent, then click on the Launch Editor button.

<img src="https://mintcdn.com/powerdrillrecomi/v6rfruEFIsCgPOdH/images/bubble_2.png?fit=max&auto=format&n=v6rfruEFIsCgPOdH&q=85&s=a99bed59dc2fa443629cf3fcc24da55e" width="1252" height="1142" data-path="images/bubble_2.png" />

3. In the Bubble Editor, navigate to the section of the page where you want the agent to appear.

4. On the left-side panel of the editor, locate the **HTML** component and drag it onto the page.

<img src="https://mintcdn.com/powerdrillrecomi/v6rfruEFIsCgPOdH/images/bubble_3.png?fit=max&auto=format&n=v6rfruEFIsCgPOdH&q=85&s=266fa386307171b5f1999fb68e172053" width="3266" height="2060" data-path="images/bubble_3.png" />

5. Double-click on the **HTML** component to open the code editor.

6. Paste the copied embed code into the editor. Once done, a floating agent icon should appear on the bottom left of the editor preview.

<img src="https://mintcdn.com/powerdrillrecomi/v6rfruEFIsCgPOdH/images/bubble_4.png?fit=max&auto=format&n=v6rfruEFIsCgPOdH&q=85&s=ef783592a9cd9c33a8e3f7ef0eddc8d0" width="1664" height="1902" data-path="images/bubble_4.png" />

7. You can now preview your Bubble application to test the agent's functionality.

<img src="https://mintcdn.com/powerdrillrecomi/v6rfruEFIsCgPOdH/images/bubble_5.png?fit=max&auto=format&n=v6rfruEFIsCgPOdH&q=85&s=6929544d5742ebaefe3eda97e66b52c8" width="3198" height="1888" data-path="images/bubble_5.png" />

Congratulations! Your Recomi AI agent is now successfully integrated into your Bubble app.

## Customizing Your Recomi AI Agent

To personalize the appearance of your agent, go to your Recomi dashboard, select the agent you want to modify, and navigate to the **Playground** and **Settings** tab. You'll find various customization options to adjust the agent to match your branding and service:

* agent response language
* preset questions
* welcome message
* avatar and icon
* colors and visual style
