Skip to main content
Connect your AI agent to a user’s Fitbit account to track fitness data, log activities or food intake, and set new fitness goals.

Connect Fitbit to Auth0

1

Fitbit setup

  1. Visit the Fitbit Developer account page and sign up.
  2. Create a new application in the Fitbit Developer Console.
  3. Complete the application details form.
  4. Select the OAuth 2.0 Application Type.
  5. Configure OAuth redirect URL:
    • Redirect URL: https://YOUR_AUTH0_DOMAIN/login/callback
    You can find the Auth0 domain in the Auth0 Dashboard.You can find this under Applications > [Your Application] > Settings > Basic Information > Domain.If you are using the custom domains feature, your Auth0 domain is the custom domain. You can find this under Branding > Custom Domains.
  6. Default Access Type: Select Read-Only or Read and Write.
  7. Click Save.
  8. After creation you’ll be shown the client ID and client secret.
  9. Copy the Client ID and Client Secret.
To learn more about setting up Fitbit, read the Developer guide for Fitbit documentation.
2

Auth0 setup

Token Vault configuration example

To configure the Token Vault for your Fitbit connection, you can use the following code snippet in your application:

Next steps