Skip to content

Commit b65031b

Browse files
authored
move API key instructions to Pre-requities
1 parent 279523b commit b65031b

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

README.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,13 @@ Here's an introductory video:
1717

1818
1. You need a [Google Cloud project](https://console.cloud.google.com).
1919
1. [Enable the Stackdriver Error Reporting API](https://console.cloud.google.com/apis/api/clouderrorreporting.googleapis.com/overview) for your project. We highly recommend to restrict the usage of the key to your website URL only using an 'HTTP referrer' restriction.
20+
1. Create an browser API key: Follow [these instructions](https://support.google.com/cloud/answer/6158862) to get an API key for your project.
2021

2122
## Quickstart
2223

23-
1. **Create an API key:**
24+
**Load and initialize the experimental library**
2425

25-
Follow [these instructions](https://support.google.com/cloud/answer/6158862) to get an API key for your project.
26-
27-
1. **Load and initialize the experimental library**
28-
29-
Add this line in your HTML code, before `</head>` and replace `<my-api-key>` and `<my-project-id>` with your API key and Google Cloud project ID string:
26+
Add this line in your HTML code, before `</head>` and replace `<my-api-key>` and `<my-project-id>` with your API key and Google Cloud project ID string:
3027

3128
```HTML
3229
<!-- Warning: This is an experimental library, do not use it on production environments -->
@@ -39,8 +36,6 @@ errorHandler.start({
3936
});
4037
</script>
4138
```
42-
43-
4439
And that's all you need to do! Unhandled exceptions will now automatically be reported to your project.
4540

4641
**Test your setup**

0 commit comments

Comments
 (0)