# 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="https://1327755626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhKGTUnosycEMCcNWfLHq%2Fuploads%2F04RTUkeASfCzK0qVzZaA%2Fplugin.png?alt=media&#x26;token=3a4f7204-ee78-4ae1-abc8-cbeaa92f31fc" 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="https://1327755626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhKGTUnosycEMCcNWfLHq%2Fuploads%2Fa4W2khzi6MgndXT0GHYs%2FScreenshot%202023-03-07%20at%2012.27.18.png?alt=media&#x26;token=a9321c16-fd70-4e3c-a3c2-351e10b5378c" 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;
