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
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.
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.
The authentication settings dialogue will open.
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.
Click on Save. Your authentication is now set up.
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.