# Setup API on Bubble

## Bubble Editor&#x20;

Once you have installed the template and created an app with it, go to bubble editor and navigate to the plugins page as illustrated below;&#x20;

<figure><img src="/files/MOFwWdLg81SeJ3cdp5Mg" alt=""><figcaption><p>Bubble editor interface</p></figcaption></figure>

Once you are on the plugin page, select **API Connector** and you should be able to see the following;&#x20;

<figure><img src="/files/rhaNMAI23Sk1wZGPleGf" alt=""><figcaption><p>APi Connector</p></figcaption></figure>

To see all the fields, click on **expand**. You will see this option just in place of collapse from the image above.&#x20;

**Paste the following values in header fields;**

Content-Type =  application/json

Authorization = Bearer \[Your Key]&#x20;

Replace \[Your Key] with your OpenAI keys.&#x20;


---

# 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.zstudioo.com/bubble.io/api-setup/setup-api-on-bubble.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.
