Twist credentials
You can use these credentials to authenticate the following nodes with Twist.
Prerequisites
Create a Twist account.
Using OAuth
- Access your Twist workspace.
- Click on your avatar in the top right corner.
- Select 'Add integrations...' from the dropdown list.
- Click on Build on the top.
- Click on the Add a new integration button.
- Enter a name in the Integration name field.
- Enter a description in the Description field.
- Select 'General integration' from the Integration type dropdown list.
- Click on the Create my integration button.
- Click on OAuth Authentication from the left sidebar.
- Copy the 'OAuth Callback URL' provided in the Twist OAuth2 API credentials in Mosaic Workflows and paste it in the OAuth 2 redirect URL field on your Twist integration page.
- Click on the Update integration button.
- Use the Client ID and Client Secret with your Twist node credentials in Mosaic Workflows.
- Click on the circle button in the OAuth section to connect a Twist account to Mosaic Workflows.
- Click the Save button to save your credentials in Mosaic Workflows.
FAQs
How to configure the OAuth credentials for the local environment?
Twist doesn't accept the localhost callback URL. However, you can follow the steps mentioned below to configure the OAuth credentials for the local environment:
-
We will use
ngrok
to expose the local server running on port
5678
to the internet. In your terminal, run the following command:ngrok http 5678
-
Run the following command in a new terminal. Replace
<YOUR-NGROK-URL>
with the URL that you get from the previous step.export WEBHOOK_URL=<YOUR-NGROK-URL>
- Start your Mosaic Workflows instance.
- Follow the instructions mentioned in the Using OAuth section to configure your credentials.