This article provides a step-by-step guide on integrating Tines, an automation platform, with your Canary Console. It explains the setup process and how to establish a secure connection between Tines and the Canary Console. The article uses a basic example of listing your Canaries to demonstrate how to implement the integration.
This article also assumes that a Tines account has already been set up.
Step 1: Configure a Canary Console API key
Head over to your Canary Console and create an API key. This API key will be used to query your Canary Console and to build your automation/story within Tines. Take note of the value in the "Auth Token" field.
Step 2: Import a Thinkst Canary template into your Tines story
Select Templates and search for Thinkst Canary. Thereafter, drag and drop the Thinkst Canary Icon into your Tines story.
Search for the action/api call which you wish to perform. In this example, we'll query the Canary Console for all birds.
Step 3: Add your Canary API key to a Tines credential object
On the right-hand pane within your story, click on Connect and Create credential.
Thereafter, select the "Text" based option. Within the value field of the text-based option, specify the API key created in Step 1.
Within the credential, it's also possible to configure a domain restriction. They will ensure that the API key is only used to query the Canary management Console.
Once configured, hit the Save button.
Step 4: Add your Console domain to a Tines resource object
On the right-hand pane within your story, click on Add and Create resource. Specify your Canary Console domain hash and hit Save resource.
Step 5: Run your automation/query
Hit the Run button, and observe the output from automation/query within the events field.