-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authentication #1
Comments
This is how I did it: 1) Create a Personal Access Token at Bugsnag 2) Retrieve company info with curl Run in terminal: curl --get 'https://api.bugsnag.com/user/organizations' \
--header 'Authorization: token <your-token>' \
--header 'X-Version: 2' Response:
Grab the company 3) Retrieve project information with curl
Response: [
{
"id": "<project-id>",
"slug": "my-project",
"name": "My Project",
...
},
...
] Search for your project name and grab the 4) Fill .env # Nova Bugsnag
NOVA_BUGSNAG_API_KEY=<your-token>
NOVA_BUGSNAG_PROJECT_ID=<project-id>
NOVA_BUGSNAG_ACCOUNT_SLUG=<company-slug> Hope this helps. |
The curl command did not return a response for me. It'll be nice to add this to the README file. I was looking for it too. |
Can you explain what these should be? Is the api_key the same that I use with the bugsnag project or it it the key generated by personal auth tokens? Is the project_id the name of the project in bugsnag? What is the account_slug?
The text was updated successfully, but these errors were encountered: