# Connecting Affirm

> Connecting to Affirm uses API keys. If you have not had the values supplied to you, you will need an Affirm login with Admin access.

Connecting to Affirm uses API keys. If you have not had the values supplied to
you, you will need an Affirm login with **Admin** access.

To set up Affirm you will need:

- Your **Merchant Name**
- Your **Public API Key**
- Your **Private API Key**

If you don't have these, follow the steps below.

1. Log in to Affirm at [affirm.com/user/signin](https://www.affirm.com/user/signin).

2. Select **API Keys**, and make sure you choose the **Live API Keys**.

   ![Affirm dashboard API Keys page showing the Public and Private API Keys](/_astro/cdn/cc69d3dfa5/connect-1.png)

3. Enter the values in the Affirm connection dialog. Use your legal company name
   for **Merchant Name** — this is customer facing.

   ![Affirm connection dialog with empty Merchant Name, Public API Key, and Private API Key fields](/_astro/cdn/777c954f3d/connect-2.png)

4. The connection is tested and you are shown a green **"Connected to Affirm"**
   message.

   ![Affirm dialog showing a green Connected to Affirm status with populated fields](/_astro/cdn/37b15fc3b9/connect-3.png)