Integrate Bridge SDK
To write a script that uses the Make SDK to create an automation from your template:
Create a new TypeScript project with an IDE of your choice.
In the project root folder, create the index.ts
file.
Install the Make SDK into the project with npm
: npm install @integromat/sdk
.
Import the MakeSDK
and MakeAPIKey
classes from the @integromat/sdk package
: import {MakeSDK, MakeApiKey} from "@integromat/sdk";
Create the main
function in the script and an instance of the MakeSDK
class in it:
Store your Make teamId
and the ID of the template you want to use in an object:
Use the templateOptions
object in the initializeFlowFromTemplate
method to initialize the scenario creation flow and print the publicUrl
property of the resulting object:
Call the main
function in the script.
Last updated