How to Get a Strava API Key for n8n?

Integrating your Strava data with n8n opens up a world of possibilities for automating your fitness tracking, analyzing your performance, and connecting with other apps. But to do this, you’ll need a Strava API key.

This updated guide will walk you through the process, step by step, with the correct navigation.

What is a Strava API Key and Why Do You Need It?

An API key is like a password that allows applications to talk to each other. In this case, your n8n workflow needs a Strava API key to access your Strava data securely. It’s how Strava knows that n8n has permission to access specific information.

 Without it, the connection won’t work.

Step-by-Step Guide to Getting Your Strava API Key:

1. Create a Strava Account (if you don't have one):

If you’re not already a Strava user, head over to strava.com and sign up for an account.

2. Go to Settings > API:

Log in to your Strava account. Click on your profile picture in the top right corner, and select “Settings” from the dropdown menu. Then in the left menu click “API”. This is the correct location for managing your API applications.

3. Create a New Application:

On the API page, you’ll need to create a new application. This tells Strava that you’re building something that will use their API.

4. Fill in the Application Details:

You’ll be asked to provide some information about your application. Here’s what you’ll typically need:

  • Application Name: Give your application a descriptive name (e.g., “My n8n Workflows”).
  • Callback URL: This is the most important part! You need to provide the callback URL for your n8n instance. This is where Strava will redirect the user after they authorize your application. The format will usually look something like this: your-n8n-instance-url/callback. Replace your-n8n-instance-url with the actual URL of your n8n instance. If you are using n8n cloud the url will be provided in the n8n Strava node. If you are self-hosting you need to make sure this URL is publicly accessible.
  • Website: Enter the URL of your website (or any website if you don’t have one specifically for this).

5. Agree to the Strava API Terms:

Carefully read the Strava API terms of service and agree to them.

6. Create the Application

Click the button to create your application.

Strava API page dashboard

7. Find Your API Credentials

Once your application is created, you’ll be provided with your API credentials, including:

  • Client ID: This is a unique identifier for your application.
  • Client Secret: This is a secret key that you’ll need to keep secure. Do not share this with anyone.
  • Access Token: You may or may not see the access token right away. Usually you will need to perform an authorization step first.

8. Using Your Strava API Key in n8n:

  • Open your n8n workflow: Go to your n8n instance and open the workflow where you want to use the Strava integration.
  • Add the Strava Node: Search for the “Strava” node and add it to your workflow.
  • Configure the Node: In the Strava node settings, you’ll need to enter the Client ID and Client Secret you obtained from the Strava API page.
  • Authorize: You will need to authorize the connection between n8n and Strava. Usually you will be redirected to the Strava website to grant the permissions. After that you will be redirected back to n8n.

Troubleshooting

Callback URL Errors

Double-check that you’ve entered the correct callback URL in your Strava application settings. This is the most common source of errors. Make sure it matches the URL of your n8n instance exactly.

Authentication Issues

Make sure your Client ID and Client Secret are entered correctly in the n8n Strava node.

Strava API Documentation

Refer to the official Strava API documentation for more detailed information and troubleshooting tips.

Security Best Practices

Keep your Client Secret safe

Never share your Client Secret with anyone. Treat it like a password.

Use environment variables

Store your API keys and secrets as environment variables in n8n to enhance security.

By following these updated steps, you’ll be able to obtain your Strava API key and seamlessly integrate your Strava data with your n8n workflows, unlocking a wide range of automation possibilities. 

Now you can start building powerful workflows to track your fitness, analyze your performance, and more!

Still have questions? Get help from our community of users and experts.

Supercharge Your Workflows with n8n

n8n is the perfect platform to bring this template to life. With its intuitive visual interface, you can easily connect your accounts, customize the workflow, and schedule automated reports.

Made with 🤍 in Estonia

© 2025 No Bad Content OÜ. All rights reserved.