Create a custom app by simply providing API documentation to our AI
+ Add App
in the Custom Apps section of Cobalt, provide the official documentation URL and a prompt describing the app you want to build and click on send button.
Test
for any action and you can now test it by providing payload if required and then clicking on Test Action
.
Create Action
button and it will be available as action in your Custom App.
Publish
and make the integration available for use. If you would like to make changes in Authorization or action, click on the info button beside Publish button of the app.Authorization
tab and do it.
Custom Apps support multiple authentication methods. To setup the Authorization for the Custom App, navigate to Authorization
in the App and choose the desired method.
The methods of Authorization are:
Key Based
Key Based
. It requires users to set up an API for generating access tokens.Select Key Auth type
Configure User Input Fields
Save
.Map Auth fields
Add Base URL
Setup Identifier and Validation
OAuth 2.0
OAuth 2.0
in the methods.Provide OAuth Credentials
Callback URL
in your developer OAuth 2.0 app.Add Authorization and Token URL
Client Authentication
type and Save
.Setup Refresh Mechanism and API Base URL
API Setup
section, provide the Base URL for the APIs and appropriate code i.e. Expired Access Token Codes which is received on token expiry for the Refresh mechanism to work.Extract Access Token & Refresh Token
Auth Tokens Data
section, you will provide the mapping using which the tokens can be extracted once received on callback on successful authorization.Usually an object is received after authorization which will be saved as access_token_response
on Cobalt’s end and you need to provide the key mapping of the required fields from the object.Setup Identifier
Go Live
button and your Custom App is now ready to use.