Region — the CommCare cloud where your account lives.
Project Space — the name of your CommCare project space.
Username — your CommCare HQ username.
API Key — an API key generated in CommCare HQ.
This guide will show you how to find each of them.
Prerequisites
A CommCare HQ account that belongs to a project space whose plan includes API access. See CommCare pricing.
Step 1: Find your region and project space
CommCare runs separate clouds: the United States at www.commcarehq.org, the European Union at eu.commcarehq.org and India at india.commcarehq.org. Your credentials only work on the cloud where you created your account, so your Region is the address you sign in at.Your Project Space is the name that appears after /a/ in your project’s CommCare HQ URLs, for example my-project in https://www.commcarehq.org/a/my-project/. It can differ from the project’s display name. The Domain dropdown on the API Keys page (Step 3) also lists it.
Step 2: Find your username
Sign in to CommCare HQ on your cloud.
Go to My Account > My Information.
Copy the value under Username. It is the email address you sign in with.