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

# How to register your own Deputy OAuth app

> Create a Deputy OAuth app and connect its credentials to Nango

This guide shows you how to create an OAuth client in Deputy to get OAuth credentials (client ID & secret).

**1. Sign up for a Deputy trial**

Create a [Deputy trial](https://www.deputy.com/) account and finish its setup. The trial lasts seven days; contact Deputy API support to extend it.

**2. Create an OAuth client**

1. Log in to [once.deputy.com/my/oauth\_clients](https://once.deputy.com/my/oauth_clients) and click **New OAuth Client**.
2. Enter your app name and a description. Users see the description when they authorize your app.
3. Set the redirect URL to `https://api.nango.dev/oauth/callback` (or your own [custom callback URL](https://nango.dev/docs/guides/auth/auth-guide.md#custom-oauth-callback-url-optional)).
4. Click **Save this OAuth client** and copy the client ID and secret from the summary.

**3. Add the credentials in Nango**

Paste the client ID and secret into your Deputy integration in Nango. Nango requests the `longlife_refresh_token` scope Deputy requires.

**4. Next**

Follow the [*Quickstart*](https://nango.dev/docs/getting-started/quickstart.md).

A Deputy token works with one install only. Nango stores the install the user picked as the `endpoint` connection config field, calls the API on that install and refreshes tokens there. For more details, see [Deputy OAuth 2.0](https://developer.deputy.com/docs/using-oauth-20).

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.