To connect your custom GPT to Superface you need to add an Action to your GPT configuration. You can do this from the Configure section of the OpenAI GPT editor.

<aside> <img src="/icons/info-alternate_gray.svg" alt="/icons/info-alternate_gray.svg" width="40px" />

WHAT ARE ACTIONS IN GPTS?

Actions allow you to further customize your GPTs. To find out more about them take a look at the OpenAI Actions in GPTs documentation.

</aside>

In the configuration scroll to the bottom of the screen until you see the Actions section, then click on Create new action

openai-actions-button-7c87f3b207faf5a76ad0ca78098a1181.png

To set up a new action requires authentication, a schema and a privacy policy. All of these are provided on the GPT Actions section of Superface.

Authentication

To set the authentication for your new Action, click on the cog icon in the authentication section at the top of the Add actions page.

authentication-3d6e68a15ecf1a2e680ddb1c63c4f808.png

The authentication settings dialogue will open.

authentication-pop-up-6ff6bca1064dc892dbd6b7cb2240067f.png

The Authentication Type is API Key and the Auth Type is Bearer.

Copy the Action Authentication Token from your GPT Actions page in Superface and paste it into the API Key field.

action-auth-c1b90f1076cc11dc7345b4daf0ea2e2e.png

Click on Save. Your authentication is now set up.

Schema

Next, you need to import the action schema that defines the different tools that your GPT will be able to access. We recommend using the Import from URL option for this.