Skip to main content

Overview

To authenticate with MOCO, you need:
  1. Account Subdomain — the part of your MOCO URL before .mocoapp.com.
  2. API Key — either your personal API key or an account API key.
This guide will show you where to find each of them.

Prerequisites

  • A MOCO account. You can start a 30-day free trial without payment details.

Step 1: Find your account subdomain

Your account subdomain is the part of your MOCO URL before .mocoapp.com: for https://acme.mocoapp.com, enter acme.

Step 2: Get your API key

MOCO accepts two kinds of API key. Use either one. Personal API key (every user has one):
  1. Log in to your MOCO account at https://<subdomain>.mocoapp.com.
  2. Click your profile picture at the top right, choose Profile, then open the Integrations tab.
MOCO user profile with the Integrations tab open
  1. Under Personal API key, copy the key with the copy button. Do not click Generate new codes: it replaces your key.
MOCO Integrations tab with the copy button next to the personal API key Account API key (optional; an account can have up to three):
  1. Go to Settings > Extensions > API & WebHooks and click New API Key.
  2. Enter a name, choose Read only or full access, and click OK.
MOCO Account API Key dialog with a name, Read only access and the OK button
  1. Copy the key with the copy button. MOCO shows it only once.
MOCO dialog showing the new account API key with a copy button

Step 3: Enter your credentials in the Connect UI

  1. Open the form where you need to authenticate with MOCO.
  2. In Account Subdomain, enter your subdomain from Step 1 (for example, acme).
  3. In API Key, paste the key from Step 2.
  4. Submit the form. Nango checks the key with MOCO before saving the connection.
MOCO Connect UI form with the Account Subdomain and API Key fields You are now connected to MOCO.