> ## Documentation Index
> Fetch the complete documentation index at: https://docs.softr.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Use Case: Adding Users through Make (formerly Integromat

> Using Softr API and Make to add user accounts.

In this use case, we are going to use the API to add users to a Softr app via Make. We are going to add users on Airtable and send them to Softr. Let's proceed.

<Tabs>
  <Tab title="Option 1: Make's Softr module">
    <Steps>
      <Step title="Setting a Trigger">
        First of all, we're going to create a table on Airtable with **Name**, **Email**, **Password**, **Magic Link, Created Date/Time** (needed for watching record creation in Make) columns to store user data.

        <Frame caption="Table setup on Airtable">
          <img src="https://mintcdn.com/softr-2b8a27e1/V_SEO7jHAtPlMiPr/softr-api/images/use-case-adding-users-through-make-formerly-integromat/image8.png?fit=max&auto=format&n=V_SEO7jHAtPlMiPr&q=85&s=353a2048ecbbc6db527c4ef676786ba2" alt="Table setup on Airtable" width="2114" height="870" data-path="softr-api/images/use-case-adding-users-through-make-formerly-integromat/image8.png" />
        </Frame>

        Then, we'll go to Make dashboard, create a new scenario, and add a trigger that watches for new records on our selected table. See below.

        <Frame caption="Creating the trigger">
          <img src="https://mintcdn.com/softr-2b8a27e1/V_SEO7jHAtPlMiPr/softr-api/images/use-case-adding-users-through-make-formerly-integromat/image9.gif?s=3a459ea8c6add5b7b59a75bc416da7f8" alt="Creating the trigger" width="2878" height="1416" data-path="softr-api/images/use-case-adding-users-through-make-formerly-integromat/image9.gif" />
        </Frame>

        Now, we need to set up an **Action** to add the users received from Airtable. There are two options for this:

        * **Make's Softr module;**

        * **Custom HTTPrequest.**

        Let's consider each option separately.
      </Step>

      <Step title="Configuring the Action">
        Let's add a new module to the scenario, search for "Softr," and select it.

        <Frame caption="Locating the Softr module">
          <img src="https://mintcdn.com/softr-2b8a27e1/V_SEO7jHAtPlMiPr/softr-api/images/use-case-adding-users-through-make-formerly-integromat/image3.png?fit=max&auto=format&n=V_SEO7jHAtPlMiPr&q=85&s=fd77c6ca6c4314766884c74e5c0429e7" alt="Locating the Softr module" width="1696" height="924" data-path="softr-api/images/use-case-adding-users-through-make-formerly-integromat/image3.png" />
        </Frame>

        Then, we are going to choose the **Create a User** option.

        <Frame caption="Choosing the Action">
          <img src="https://mintcdn.com/softr-2b8a27e1/V_SEO7jHAtPlMiPr/softr-api/images/use-case-adding-users-through-make-formerly-integromat/image4.png?fit=max&auto=format&n=V_SEO7jHAtPlMiPr&q=85&s=962486d8fec5e5c4bb0ff0098751fb41" alt="Choosing the Action" width="1712" height="920" data-path="softr-api/images/use-case-adding-users-through-make-formerly-integromat/image4.png" />
        </Frame>

        Next, we need to establish a connection with our Softr account and app, inputing the [Softr API key](/softr-api/tTFQ5vSAUozj5MsKixMH8C/api-setup-and-endpoints/j1PrTZxt7pv3iZCnZ5Fp19) and the domain of the app we want to add users to.

        <Frame caption="Adding a Softr connection">
          <img src="https://mintcdn.com/softr-2b8a27e1/V_SEO7jHAtPlMiPr/softr-api/images/use-case-adding-users-through-make-formerly-integromat/image5.png?fit=max&auto=format&n=V_SEO7jHAtPlMiPr&q=85&s=0a3c1494f4d5a116876b86cee625dd64" alt="Adding a Softr connection" width="2066" height="1164" data-path="softr-api/images/use-case-adding-users-through-make-formerly-integromat/image5.png" />
        </Frame>

        Lastly, we need to map the user fields from our table as shown below.

        <Frame caption="Mapping the user fields">
          <img src="https://mintcdn.com/softr-2b8a27e1/V_SEO7jHAtPlMiPr/softr-api/images/use-case-adding-users-through-make-formerly-integromat/image6.png?fit=max&auto=format&n=V_SEO7jHAtPlMiPr&q=85&s=9eed280608a6b24cda3bece14a709c14" alt="Mapping the user fields" width="1110" height="1406" data-path="softr-api/images/use-case-adding-users-through-make-formerly-integromat/image6.png" />
        </Frame>

        <Tip>As you can see, we haven't mapped the **Magiclink** field from the table but have just set the value to **Yes** to generate one automatically. We can sync it back to a [Airtable](/f001252ed01e495d8c0f8e2588f06107) if we [connect it to Softr](/add-and-manage-users/pxnkp9H3qyEVMF6XUceqnj/syncing-users-with-a-data-source/hshRGygHr4T33EnaLntGf9), which we'll discuss in **Step 3**.</Tip>

        That's it. Now, we just need to save the module and the scenario is ready. Let's test it to make sure everything is working correctly.
      </Step>

      <Step title="Testing the Scenario">
        Let's add a new user to our table and check if it's sent to our Softr app successfully.
        <Tip>This is optional, but we are also going to [connect our Softr users base](/add-and-manage-users/pxnkp9H3qyEVMF6XUceqnj/syncing-users-with-a-data-source/hshRGygHr4T33EnaLntGf9) to the same Airtable base and table at the beginning to sync user data **from** **Softr to Airtable** as well. This way, the magic link that's been generated when fetching the user **from Airtable to Softr** will be stored in Softr and eventually **synced back to Airtable**.</Tip>

        <Frame caption="Testing the scenario">
          <img src="https://mintcdn.com/softr-2b8a27e1/V_SEO7jHAtPlMiPr/softr-api/images/use-case-adding-users-through-make-formerly-integromat/image7.gif?s=c823615f1acd178e050b11f14a23f5d3" alt="Testing the scenario" width="2878" height="1416" data-path="softr-api/images/use-case-adding-users-through-make-formerly-integromat/image7.gif" />
        </Frame>
      </Step>
    </Steps>
  </Tab>

  <Tab title="Option 2: Using a Custom HTTP Request">
    <Steps>
      <Step title="Setting a Trigger">
        First of all, we're going to create a table on Airtable with **Name**, **Email**, **Password**, **Magic Link, Created Date/Time** (needed for watching record creation in Make) columns to store user data.

        <Frame caption="Table setup on Airtable">
          <img src="https://mintcdn.com/softr-2b8a27e1/V_SEO7jHAtPlMiPr/softr-api/images/use-case-adding-users-through-make-formerly-integromat/image8.png?fit=max&auto=format&n=V_SEO7jHAtPlMiPr&q=85&s=353a2048ecbbc6db527c4ef676786ba2" alt="Table setup on Airtable" width="2114" height="870" data-path="softr-api/images/use-case-adding-users-through-make-formerly-integromat/image8.png" />
        </Frame>

        Then, we'll go to Make dashboard, create a new scenario, and add a trigger that watches for new records on our selected table. See below.

        <Frame caption="Creating the trigger">
          <img src="https://mintcdn.com/softr-2b8a27e1/V_SEO7jHAtPlMiPr/softr-api/images/use-case-adding-users-through-make-formerly-integromat/image9.gif?s=3a459ea8c6add5b7b59a75bc416da7f8" alt="Creating the trigger" width="2878" height="1416" data-path="softr-api/images/use-case-adding-users-through-make-formerly-integromat/image9.gif" />
        </Frame>

        Now, we need to set up an **Action** to add the users received from Airtable. There are two options for this:

        * **Make's Softr module;**

        * **Custom HTTPrequest.**

        Let's consider each option separately.
      </Step>

      <Step title="Configuring the Action">
        In this case, we need to create a new module, search for **HTTP**, select it, and choose the **Make a request** action.

        <Frame caption="Selecting the action">
          <img src="https://mintcdn.com/softr-2b8a27e1/V_SEO7jHAtPlMiPr/softr-api/images/use-case-adding-users-through-make-formerly-integromat/image10.png?fit=max&auto=format&n=V_SEO7jHAtPlMiPr&q=85&s=af03d6e3e671f649528130040049cdfb" alt="Selecting the action" width="968" height="1170" data-path="softr-api/images/use-case-adding-users-through-make-formerly-integromat/image10.png" />
        </Frame>

        Now, let's start configuring the module based on our [endpoint](/softr-api/tTFQ5vSAUozj5MsKixMH8C/api-setup-and-endpoints/j1PrTZxt7pv3iZCnZ5Fp19). First we need to add our **URL**, then select the **method** (POST), and finally add the required **headers**. We don't need to add the **Content-Type** header, as it's going to be added in the next step. Below, you can see what it should look like.

        <Frame caption="Configuring URL, Method, and Headers">
          <img src="https://mintcdn.com/softr-2b8a27e1/V_SEO7jHAtPlMiPr/softr-api/images/use-case-adding-users-through-make-formerly-integromat/image11.png?fit=max&auto=format&n=V_SEO7jHAtPlMiPr&q=85&s=945d54c3ca8e4102f7b722f91bd5da75" alt="Configuring URL, Method, and Headers" width="1178" height="1514" data-path="softr-api/images/use-case-adding-users-through-make-formerly-integromat/image11.png" />
        </Frame>

        Further on, we need to set the **Body Type** to **Raw** and the **Content Type to JSON**. Lastly, we are going to fill in the **Request Content** using the format provided above. Please, note that the **Parse response** option should be set to **Yes**.

        <Frame caption="Configuring Body and Content types and adding Request content">
          <img src="https://mintcdn.com/softr-2b8a27e1/V_SEO7jHAtPlMiPr/softr-api/images/use-case-adding-users-through-make-formerly-integromat/image12.png?fit=max&auto=format&n=V_SEO7jHAtPlMiPr&q=85&s=e295031bbb94fbe6972b555b5c962967" alt="Configuring Body and Content types and adding Request content" width="974" height="1352" data-path="softr-api/images/use-case-adding-users-through-make-formerly-integromat/image12.png" />
        </Frame>
      </Step>

      <Step title="Testing the Scenario">
        So, we're almost there. Let's just add a new record in our table and run the scenario to test it. As, you can see below, the user is successfully added to our Softr app.
        <Tip>This is optional, but we are also going to [connect our Softr users base](/add-and-manage-users/pxnkp9H3qyEVMF6XUceqnj/syncing-users-with-a-data-source/hshRGygHr4T33EnaLntGf9) to the same [Airtable](/f001252ed01e495d8c0f8e2588f06107) base and table at the beginning to sync user data **from** **Softr to Airtable** as well. This way, the magiclink that's been generated when fetching the user **from Airtable to Softr** will be stored in Softr and eventually **synced back to Airtable**.</Tip>

        <Frame caption="Testing the scenario">
          <img src="https://mintcdn.com/softr-2b8a27e1/V_SEO7jHAtPlMiPr/softr-api/images/use-case-adding-users-through-make-formerly-integromat/image13.gif?s=d8259391074e16bb147f9499422e7b0f" alt="Testing the scenario" width="2878" height="1416" data-path="softr-api/images/use-case-adding-users-through-make-formerly-integromat/image13.gif" />
        </Frame>
      </Step>
    </Steps>
  </Tab>
</Tabs>

## Deleting a User

The [delete request](/softr-api/tTFQ5vSAUozj5MsKixMH8C/api-setup-and-endpoints/j1PrTZxt7pv3iZCnZ5Fp19) can be implemented in a similar way through an HTTP (Make a request) module.
