> For the complete documentation index, see [llms.txt](https://docs.tryterra.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tryterra.co/help-center/help-topics/connecting/setting-up-provider-credentials-bring-your-own-keys/strava-byo-credentials-callback-domain.md).

# How do I set up my Strava credentials?

Strava is a bring-your-own-credentials source, so a "credentials required" message is expected.

Strava is a **bring-your-own-credentials source**, so a "credentials required" message is expected. There is no Terra-side approval step. You set up a callback domain of your own for Strava from the Terra dashboard.

{% stepper %}
{% step %}
In the Terra dashboard, open **Connections > Strava**, choose a subdomain of your own domain and add the DNS record it shows. Wait until the domain shows as active. If Connections doesn't offer a custom domain for Strava, contact support to set one up.
{% endstep %}

{% step %}
On Strava's API settings page, create or edit your application and set the **Authorization Callback Domain** to that subdomain. Enter the domain only, with no `https://` and no path. Change it in Strava last, because nothing can authorise on the new domain before it is active.
{% endstep %}

{% step %}
Save, then in the Terra dashboard under [API > Connections](https://github.com/tryterra/api-faqs/blob/main/dashboard/connections/README.md) (Add more / Connections > Strava > Edit) paste the Client ID and Client Secret.
{% endstep %}

{% step %}
Verify the Client ID matches exactly (watch for stray characters).
{% endstep %}
{% endstepper %}

Users can then connect through the normal [auth flow](https://docs.tryterra.co/health-and-fitness-api/user-authentication).

New Strava apps start in single-player mode. See [How do I lift Strava's one-athlete limit?](https://docs.tryterra.co/help-center/help-topics/connecting/getting-a-provider-developer-app-approved/strava-production-app-and-athlete-limit) for going past it.
