# How to Customize Crab AI?

## Embedding an AI Model in Your Application

Since the domain of the application changes after you get the template, the embed modules and chatbot in Crab do not work. If you want the AI ​​models and chatbot to work, all you have to do is customize your embed as you wish and paste the code you got from Aicado. [Click here](broken://pages/nvPOAaRCSL9MVojPcGBb) to learn how to create an embed.

{% hint style="warning" %}
Make sure that the domain of the embed you created is the domain of your Bubble app. Otherwise, your models will not work.
{% endhint %}

<figure><img src="/files/nJQ70oGEWHlkPhaZ6loe" alt=""><figcaption><p>Domain of the embed module</p></figcaption></figure>

<figure><img src="/files/Xo0pZqifjrCHPPSI0kmQ" alt=""><figcaption><p>Your application domain</p></figcaption></figure>

## How to Set Up Your Chatbot?

Once you have Crab, the chatbot and embed modules will not work in your app because they work based on Crab’s domain. [Click here](broken://pages/mgIMDpJQrhl2Spwalrsy) and follow the steps to get your chatbot working in your app.

{% hint style="warning" %}
Make sure that the domain of the embed you created is the domain of your Bubble app. Otherwise, your models will not work.
{% endhint %}

## Webhook

Using webhooks, you can enable real-time communication with your application. You can also assign custom parameters to store and manage specific types of data that meet your needs. Since the webhook feature is an advanced setting, we have covered it in detail in a separate video. You can access the video by [clicking here.](https://www.youtube.com/watch?v=2K6RHHRZv0c)&#x20;

You can view our documentation on webhooks by [clicking here](broken://pages/aImClS2KOU8IMGjVja5E).

## Stripe

If you are going to use the Stripe integration without copying SaaSCado, you need to copy the "Subscription Type" option set and download the Stripe plugin.

1. Enter the price-id of the products you created on the Stripe side into the "Subscription Types (OS)" option set. With this option set, you can easily manage the Pricing Card on the "Settings" page.

<figure><img src="/files/74YxIRHIfkmT1GRKAOMG" alt=""><figcaption></figcaption></figure>

2. Go to the "Plugins" tab and click on the Stripe plugin. Paste the "Secret Key" and "Publishable Key" you received from Stripe into the relevant fields.\
   For more information, visit [Stripe documentation.](https://docs.stripe.com/)

## Styling

Template is styled on Bubble side. In this way, you can easily change the color and font according to your brand from "Style variables" tab by clicking on "Styles" tab.

<figure><img src="/files/9M4ROivIoP43lP6uW7y1" alt=""><figcaption></figcaption></figure>

## Unnecessary Elements

To make the template your own application, you must first delete unnecessary elements. Delete the "Customization" and "Documentation" page, and delete unnecessary elements in the Footer and Header.

If you have any further questions, please contact us.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.aicado.ai/templates/crab-ai/how-to-customize-crab-ai.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
