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

# Configuration

> Learn how to configure your API for payment links.

## Configuration in the HUB2 Dashboard

To use payment links, you must first ensure you are using an API key with the necessary permissions.
To do this, you can configure your API keys via our dashboard.

<Steps>
  <Step title="API Key Configuration">
    <Tabs>
      <Tab title="Create a new API key">
        Generate a new API key with permissions for **Payment Links**

        * Go to **Management** → **Developers** section
        * Click on **Create a key**
        * Select the following permissions during creation:
          * `payment_create` - To create payments through the API
          * `payment_intent_read` -
          * `payment_intent_auth_create` -
          * `payment_fees_read` -
          * `payment_intent_create` -
      </Tab>

      <Tab title="Update an existing API key">
        If you are using an existing API key, update its permissions

        * Go to **Management** → **Developers** section
        * Find your existing API key
        * Click on **Edit** and add the following permissions:
          * `payment_create` - To create payments through the API
          * `payment_intent_read` -
          * `payment_intent_auth_create` -
          * `payment_fees_read` -
          * `payment_intent_create` -
      </Tab>
    </Tabs>

    <Card title="API Key" icon="link" href="/integration/en/getting_started/api_keys" arrow="true" cta="Go to the API Keys configuration guide" />
  </Step>
</Steps>

## Supported Providers

All providers are currently supported by payment links.

<Warning>A payment link is only valid for one country.
To allow collection with providers from different countries, you will need to create payment links per country.</Warning>

## Get Help

If you encounter issues during configuration, contact our support team with your specific error messages.
