# How to create an OAuth app in Asana

## Before you start, you’ll need:

Before moving forward with making sample API requests or building apps that leverage that Asana API, we recommend first getting an Asana developer sandbox. A developer sandbox is a temporary Asana domain with limited users. This is a standard Asana account where you can test Asana Premium features during development.

Developer sandboxes are intended for:
- Developers building or maintaining a third-party integration with Asana (i.e., submit your completed integration to get listed in the Asana app directory)
- Existing Asana Premium customers who require a separate environment to perform risk-free testing on the API
To request a developer sandbox, please fill out and submit [this form](https://form-beta.asana.com/?hash=b9bca5d2a3ff59b9a7f82d29086e2d9bcd0df6fd306aa81bd96a63405d5948db&id=1113032351814260).

## Register your OAuth application

Go to [manage your apps](https://app.asana.com/0/my-apps) in Asana.

To create an OAuth app you will need:

- The name of your application

- Your OAuth redirect URI: __https://unify.apideck.com/vault/callback__

- A Client ID and Client Secret. When you register to authenticate with OAuth 2.0, we return you a Client ID and Client Secret for your application to authenticate with the Asana API.

## Do your first API call

- Connect your Asana account through [Vault](https://platform.apideck.com/vault) with a test session.

- To test the access token, make a call to the [`Get current user`](https://developers.asana.com/docs/how-to-use-the-api) endpoint using the [Proxy API](https://developers.apideck.com/apis/proxy/reference).

```
curl --location --request GET 'https://unify.apideck.com/proxy' \
--header 'x-apideck-consumer-id: test-consumer' \
--header 'x-apideck-app-id: {APIDECK_APP_ID}' \
--header 'x-apideck-service-id: asana' \
--header 'x-apideck-downstream-url: https://app.asana.com/api/1.0/users/me' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {APIDECK_API_KEY}'
```

## Start building with the Asana API

Learn what else you can [build with the Asana API](https://developers.asana.com/docs/common-use-cases).

Interested in a personalized demo? [Let us know](https://www.apideck.com/demo-request?from=guide).
