> This page is for Docs.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://zuora.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://zuora.ferndocs.com/_mcp/server.

# Create an OAuth client for a user

> Learn how to create an OAuth client for a user.

Learn how to create an OAuth client for a user.

Zuora recommends that you use OAuth to authenticate to the Zuora REST API. To authenticate using OAuth, you must first create an OAuth client for a user.

Click your username at the top right and navigate to **Admin settings user management**. The Users page opens.

Locate the user in the table, then check that the user's status is **Active**. If the user's status is not **Active**, you must either activate the user or choose a different user.

Click the user's **First Name**, **Last Name**, or **User Name**.

For the OAuth client to be permitted to write data using the REST API, the user must have a Platform role that includes the **API Write Access** permission.

In the **New OAuth Clients** section, enter a name for the OAuth client.

If you have the Multi-entity feature enabled, select which entities the OAuth client will be permitted to access.

Click **Create**.

Zuora displays the **Client ID** and **Client Secret** for the OAuth client. This is the only time you can see the client secret. You will need the client ID and client secret to generate OAuth tokens.

Click **OK**.

After creating the client, you are ready to generate an OAuth token with the client ID and client secret. See [Create an OAuth token](https://developer.zuora.com/v1-api-reference/api/operation/createToken/) for more information.