# Aha

> Source: https://truto.one/docs/integration-guides/aha/

Aha! connects with OAuth 2.0. The end user enters their Aha! subdomain, then signs in.

## Install the Aha integration

Install Aha from [Available integrations](https://app.truto.one/integrations/available/4c3fd8ae-6d70-4dc0-b6e5-35aeeed6a909) in each environment you connect accounts from.

## Use your own Aha OAuth app (optional)

Truto ships an Aha OAuth app, so OAuth 2.0 works without any setup. To show your own app on the consent screen instead, create an OAuth application in Aha!, register the redirect URL below, and set the app's Client ID and Client Secret on the installed integration. See [Overriding OAuth credentials](/docs/guides/integrations/overriding-oauth-credentials).

```text
https://api.truto.one/connect/aha/callback
```

## Find your subdomain

The subdomain is in the browser URL while you're signed in to Aha!.

![Aha! subdomain](https://docs-assets.truto.one/aha-details-1.png)

## Connect an Aha account

1. In [Integrated Accounts](https://app.truto.one/integrated-accounts), click **Connect Account**.
   ![Click Connect Account](https://docs-assets.truto.one/truto-connect-account.png)
2. Enter a **Tenant ID** (your customer's ID; Truto creates the tenant if it is new), or pick one under **Existing tenant (optional)**. Check the **Environment** and the **Region** (where Truto places the account; Western North America by default). To open the link straight on Aha, pick it under **Advanced settings** → **Integration (optional)**. Click **Get connection link**.
   ![Get connection link](https://docs-assets.truto.one/truto-connect-account-modal.png)
3. Click the open-in-new-tab button, or click **Copy** and send the link to your customer so they connect their own Aha account. The link works for 7 days, until an account is connected with it.
   ![Share connection link](https://docs-assets.truto.one/truto-connect-account-link.png)
4. Click **Get Started** if it shows, then select **Aha**.
5. Fill in the form and click **Connect**:

   | Field | Required | What to enter |
   |---|---|---|
   | **Subdomain** | No | The first part of your Aha! URL: for `https://acme.aha.io`, enter `acme`. The form doesn't enforce it, but the Aha! sign-in page is on this subdomain, so enter it. |
6. Sign in to Aha and allow access.
7. Close the tab when you see **Connection successful**. The new account appears under **Integrated Accounts**. Click its Account ID to see its details and make API calls.
