Create Integration With Any App: Two Methods
Tags: lowcode, webdev, nocode, automation
Published: 2024-01-22 21:30:24

Hello DEV community! While other low-code automation platforms take pride in having thousands of pre-built integrations, Latenode stands out by offering an environment where users can **create new integrations with any desired application in just minutes, completely from scratch!**

There are two ways to make this happen, covering all your potential use cases. Let's start with the simpler one.

## Method #1 HTTP request

If you're looking to connect with an app that provides API documentation, focus on the cURL examples given.

Each API endpoint in your application demands a specific communication method, and the cURL example offers a template to execute the desired functionality.

For instance, **let's suppose you want to create a new Trello card** and consider the Trello documentation. Your steps?

1. **Identify the action you need**, like “Create a new Card.”
2. **Find and copy the cURL example** showing how to communicate with this Trello endpoint.
3. **Note the required parameters for this API request**. For instance, creating Trello cards requires knowing where to place the card, so the “idList” parameter is essential.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/00pd22bt449nocspavzz.png)



After these steps, let's return to Latenode, where you simply:

1. **Add an HTTP request node** to your scenario.
2. **Click on “Create from example” and paste your cURL**.
3. **Replace the API Key, API Token, or other authorization details** your service needs. Ask ChatGPT where to find these in your app.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/h7deh2p5n21df6s2bdry.gif)



Often, this is enough to build a new API integration from scratch in two minutes! 🎉

For our Trello case, manually set the required parameter idList to inform Trello where to create the new card. Additionally, **define the card's name and description, using data from your Latenode scenario** as shown on the screenshot below.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/re9b91pj7i9iri58fe71.png)



Now you know how to build an integration with any app using an HTTP request on Latenode.

If you have questions, feel free to ask in our [**Discord community**](http://go.latenode.com/discord)**.**

## Method #2 JavaScript AI Integration

Using JavaScript for integration might seem more complex, but **Latenode's AI Assistant within the JavaScript module makes it accessible for beginners**.

To create a new Trello card using AI, ask our assistant the following:

*– Add Script to my code that will create an API integration with Trello – "Create a new Card"*

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/o8axc46useg63gak4wz1.gif)



The remaining steps are similar to the HTTP method:

1. **Enter your API Key and API Token**.
2. **Add the idList** of your Trello board.
3. **Specify the Trello card name and Description**.

You add these directly to your code, but the AI simplifies the process, offering guidance throughout.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0jxbjsnm61vpntma84fw.png)



🐞 Encounter a JavaScript error? Don't worry! The AI will help you fix your code once you send the error back to the chat.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/crs8y82tul3eav46ugak.png)



You don't even have to explain what you need; sending a raw error will be enough to get new code:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1k6y1mx90uk1yxwsisqx.gif)



That’s it!

Using these methods - HTTP request and JavaScript AI integration - you choose a self-service approach for any low-code integration you can imagine.

Enjoy using Latenode, and for any questions about the platform, join our [**Discord community**](http://go.latenode.com/discord) of low-code experts.