---
updatedAt: 2026-11-11T10:43:47.000Z
agentTools:
  projectIndex: https://docs.digitalgenius.com/llms.txt
---

# Magento 2

## Magento 2 API Access

In order for DigitalGenius to connect to your Magento 2 instance you will need to create an integration token in your Magento admin console.

In this guide, we will follow the steps from [Magento documentation](https://devdocs.magento.com/guides/v2.4/get-started/authentication/gs-authentication-token.html#integration-tokens) to create an access token based integration.

> 📘 Time to Complete: 10 minutes

## Navigate to Integrations

Login to your Magento Admin and click **System**.

![](https://files.readme.io/c4443f2-Open_System.png "Open System.png")

Under System select **Integrations**.

![](https://files.readme.io/7b96c4b-Select_Integrations.png "Select Integrations.png")

When the integrations load you should the following page with the list of your currently enabled integrations.

![](https://files.readme.io/c9bfe44-Integrations.png "Integrations.png")

## Add New Integration

Click on the **Add New Integration** button.

![](https://files.readme.io/5e35345-Add_New_Integration_button.png "Add New Integration button.png")

Next you should see the following New Integration form.

![](https://files.readme.io/477b889-New_Integration_form.png "New Integration form.png")

In the **Name** field enter DigitalGenius so it will be easy to identity this integration in the future. Leave Email, Callback URL, Identity link URL fields blank.

Enter your Magento admin password in the Your Password field.

![](https://files.readme.io/81b816c-New_Integration_-_Name_and_Password.png "New Integration - Name and Password.png")

Before clicking Save next open the API tab.

![](https://files.readme.io/2d5bd66-Open_API_Tab.png "Open API Tab.png")

Keep the Resource Access as Custom and under Resources select the top level Sales and Customers.

![](https://files.readme.io/f88feb3-Resources.png "Resources.png")

Click **Save** and you should see the newly added integration in the list of your integrations.

![](https://files.readme.io/d2efef4-New_Integration_Added.png "New Integration Added.png")

## Activate Integration

The integration we added still needs to be activated. Don't worry it's not going to start any automations, the activation will only make the connection between DigitalGenius and Magento active but nothing will be happening at this stage.

Find the DigitalGenius integration and click **Activate**.

![](https://files.readme.io/cceddf6-Click_Activate.png "Click Activate.png")

Next you will be presented with the following screen to confirm the permissions you will be giving to the integration. Review and click **Allow**.

![](https://files.readme.io/6d75fb0-Allow.png "Allow.png")

After confirming the permissions you will be presented with all the tokens and secrets for this integration. We only need the Access Token. So copy and save the **Access Token**, you can ignore everything else.

Click Done and you should be back at the Integrations list. Check that the DigitalGenius integration status is now active.

![](https://files.readme.io/ce7f138-Active_Status.png "Active Status.png")

## Save the Access Token in DG

Go back to the DigitalGenius dashboard and save the Access Token as a configuration in one of the Flows or share it securely with your DigitalGenius Solution Engineer.