Setting up Integrations
Last updated
Was this helpful?
Last updated
Was this helpful?
Applications have the ability to natively integrate with many popular services, including Twilio, Zendesk, Salesforce, and more. When setting up an integration, the services can be displayed and managed right from your application. For example, when , Airkit will bring in all of the tables that are associated with a Salesforce account and can then leverage the built in operations such as Create Record, Delete Record, Update Record, Find Records or Query Records.
Custom integrations can be used to connect to external data sources that are not a part of Airkit's standard integrations. Any one of these standard authentication methods can be used for your API.
For a more detailed breakdown of what is required to create an integration using these authentication methods, see ,
This example demonstrates how to create a custom authenticated integration with the Twitter API that uses OAuth 2.0 and connect it to an Airkit application.
Note: When setting up an OAuth 2.0 integration in Airkit, a refresh token is expected, and the system/endpoint must be configured accordingly. Some systems will automatically account for this and some systems may not.
Prerequisites
Setting up your custom integration
Then click on Create new to add a new Custom Integration. Enter the name of the service and a unique key. This key is a global unique identifier associated with your custom integration. Then select OAuth 2.0 for the Authentication Type. This will then expand the fields that are required to create the integration.
Authorization Grant Type: choose 'Client Credentials'
Access Token Verb: choose 'POST'
OAuth Scope: enter 'read'
Client ID: enter your API key that was generated from the Twitter App
Client Secret: enter in your API Secret generated from the Twitter App
Token Parameter Type: choose 'Header'
Token Parameter name: enter 'Authorization'
Token Parameter Value Template: enter 'Bearer {token}'
Click Create to finish creating the custom integration
Connecting the custom integration to Airkit
After setting up the custom integration, you need to connect the integration to Airkit. This will surface the integration to your application and make it usable in the app.
In the Airkit Console, go to Integrations and then **Connected Accounts.
Click on Create new and give the credential a name and choose the Twitter integration in the drop down menu. Then click on Create, which then enables you to connect Twitter to your Airkit App!
Prerequisites
GIPHY App with associated API Key
Setting up your custom integration
Then click on Create new to add the new Custom Integration. Enter the name of the service and a unique key. This key is a global unique identifier associated with your custom integration. Then select API Token for the Authentication Type. This will then expand the fields that are required to create the integration.
For the GIPHY API, provide the following for the configuration fields:
Token Paramater Type: choose 'URL Parameter'
Token Parameter Name: enter 'api_key'
Token Parameter Value Template: enter '{token}'
Click on Create to finish creating the custom integration
Connecting your custom integration to Airkit
After setting up the custom integration, you need to connect the integration to Airkit. This will surface the integration to your application and make it usable in the app.
In the Airkit Console, go to Integrations and then **Credentials.
Click on Create new and give the credential a name and choose the GIPHY integration in the drop down menu.
Then provide your API Token from your GIPHY app and click on Create to create an integration from GIPHY to Airkit.
In the Airkit studio, go to Configuration Builder and scroll down to Integrations. Then click on +New > Adapters and select the custom integration that was created in the console.
Then select the credential that is associated with your custom integration and Save your app. This will enable your app to leverage your integration in the HTTP Operation in Connection Builder.
A with a developer account
Sign in to and select Integrations and then **Custom Integrations.**This is where to manage the integrations associated with an organization.
For the , provide the following for the configuration fields:
Access Token Endpoint: enter
Authorization Endpoint: enter
**
This example demonstrates how to create a custom integration with the that uses an API Token and connect it to an application.
Sign in to and select Integrations and then **Custom Integrations.**This is where to manage the integrations associated within organization.
**
Now that the integrations is added, they can now be used in an application. Integrations can be used to call API endpoints directly from using the HTTP Operation.
To use the integration, it needs to be added to your app from .
Oftentimes when building out an application, there's the need to have separate environments such as DEV, QA, and Production environments. For example, you can set up a DEV environment with a dev instance of a custom integration, and be able to test and debug an application without needing to touch production data. To configure this, you need to within your application, and each profile would have different configuration settings.
Now with the integrations set up, an application can then be used for inbound requests to . Integrations can also be used for outbound requests to as well.