![]() Note: HTTP Basic Authentication is one of the many controls you can use to restrict access to your APIs. ![]() Record the API url with ngrok, You will use it for registering in Zapier. You will be prompted for a login (enter the credentials you added to the previous command).Īfter entering the right credentials, you will see the app message again. Launch ngrok with basic authentication (replace userId and password with strong credentials): ngrok http 3000 -basic-auth=userId:passwordĬopy the random url and open it with your full API path (for example ). You should see a message like this:īecause we don't want bad actors using our employee badge lookup, we'll add HTTP Basic Authentication to our connection: ![]() Enter ctrl+c to quit the process.Įnter ngrok -authtoken= to associate the authtoken with your account.Ĭopy the new ngrok.io url into your browser. You will be prompted to sign up for an account:įollow the instructions to register for a free account and copy the Authtoken. Launch ngrok: ngrok http 3000 to connect it to your applicationĬopy the new ngrok.io url into your browser. Start your application via npm run app as above To confirm the app is running, go to You will see a message like this: Launch the app using the commands: npm install Our sample remote API provides the badge numbers that we will present to Zapier with ngrok.Ĭlone our application from git: git clone Our Sample: A badge lookupįor this post, I decided to use a sample scenario for our integration: gather employee's badge information from a remote API to Google Sheet:įor every employee added to Google Sheet (columns A and B), we need to fill column C with their badge number. Tip: This tutorial can be applied to any iPaaS solution that supports REST API calls, including Workato, Tray.io, IFTTT, and much more □ □ □. In this tutorial, We will connect Zapier to remote APIs using ngrok to bridge the gap ) However, iPaaS solutions are designed primarily to interact with publicly available cloud-based systems, not systems deep inside an organization or on my local machine. Integration Platform as a Services (iPaaS) - like Zapier, I can connect it once and never think about it again. With modern automation solutions - a.k.a. Automation brings me joy, especially when I get rid of menial, repetitive tasks like filling spreadsheets, reacting to events, or grabbing status updates.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |