# How it works?

The **Aicado AI Connector** plugin is designed to help you add AI functionality to your Bubble app with minimal effort. To accomplish this, the plugin includes a single server-side action, which can run all supported AI models.

### Action Run Process:

1. It sends a request to the selected AI model’s endpoint on Aicado using your API key to create an AI run.
2. The plugin immediately returns the `run_id`.
3. Once the run is complete, Aicado sends the model output to your app’s webhook, along with the corresponding `run_id`.

{% hint style="info" %}
Each AI model may require different input types (text, video, audio, image). You must provide the input type required by the model you select. The required input types for each AI model are listed on the next page.
{% endhint %}


---

# 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/aicado-ai-connector-bubble.io/introduction/how-it-works.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.
