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

# Connect MX with API Key – StackOne Hub

> Link a MX account in the StackOne Hub using API Key. End-user guide to authorize the integration and start using MX actions.

## Get your MX API credentials

The Platform API authenticates every request with your client ID and API key.

**1. Copy your credentials**

Sign in to the [MX Client Dashboard](https://dashboard.mx.com), go to **API Keys**, and copy the **Client ID** and **API Key** for the environment you are connecting. Integration (sandbox) and production each have their own pair, so choose **Integration (Sandbox)** for INT credentials or **Production** for production credentials.

**2. Add your IP addresses to the allowlist**

On the Client Dashboard, add the IP addresses that will call the API to your allowlist. Requests from any other address return 403 Forbidden.

## Link the Account

**1. Connect**

<ul>
  <li>Click **Connect**.</li>
  <li>If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider's authorization flow.</li>
  <li>Once authorization is successful, you will see a confirmation popup.</li>
</ul>

**2. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.