Supported version: Cloud.
Supported Authentication: Token based authentication
API Rate Limit: https://docs.sentry.io/api/ratelimits/
IMPORTANT: Please make sure Sentry instance must be accessible from the Gathr Machine.
To generate user access token follow the steps below:-
Login to Sentry: Go to the Sentry website and log in to your account.
Navigate to Settings: Once logged in, navigate to the settings page. You can usually find it by clicking on your profile picture or username, then selecting "Settings" from the dropdown menu.
Select API Keys: In the Settings menu-> Developer settings-> General Settings, find and select the "User Auth Tokens" option. This is where you can manage your API keys.
Generate a New API Key: Look for an option to generate a new API key. Click on -> "Create New API Key.
Define Permissions: Depending on your needs, you might want to define specific permissions for the token. For instance, you might want to limit its access to certain projects or functions within Sentry. If this option is available, configure the permissions accordingly.
After defining any necessary permissions, proceed to generate the token. Sentry will generate a unique token for you.
Copy the Token: Once the token is generated, make sure to copy it to a secure location. You typically won't be able to see it again after leaving this page, so it's crucial to copy it now.
Store the Token Securely: Treat the API token like a password and store it securely. Do not share it publicly or expose it in your code repositories.
To configure Sentry Connector using token based authentication:
- Enter your Sentry URL for e.g: https://gathr-j0.sentry.io/
- Select “Create New Account” and add user friendly name for the account “Sentry Account”
- Check "Pass Parameter(s) in Header" and enter the following:
- Token Parameter Key: "Authorization"
- Value : Bearer<SPACE><Your Token>
- Click on “Save”