Authentication

Get access token from the Strava application page

If you only need to access data for your own Strava account, you can go to the My API Application. If you don't already have a Strava application, you can create one, and then get your access token from the page.

Keep in mind that this access token is very short lived (approximately two hours), but the page also lists a a refresh token that you can then use to get new access tokens when needed.

Get access token from an authentication page

If you need to access the Strava API on behalf of your users, you need to set up an authentication page and have the users go through the OAuth 2.0 authorization flow to give your Strava application the necessary permissions to access the Strava API in their behalf.

You can read more about this from the Setting up an authentication page.