# Google

1. Go to <https://console.cloud.google.com/>
2. Go to APIs & Services
3. Click on `Credentials` in the left menu
4. Click on the `+Create credentials` button at the top of the screen
5. Select `oAuth Client ID`
6.

```
<figure><img src="https://content.gitbook.com/content/0gkOLIfzuEyMP2kvoT9o/blobs/31Hy3n3vTtGuSWIzwzD3/Screenshot%202024-04-19%20at%2010.33.38.png" alt=""><figcaption></figcaption></figure>
```

7. Select `Web Application` as the Application type.&#x20;
8. Enter a name (For example WriteBackExtreme).&#x20;
9. Do not add redirect URIs yet, this will come in a later stage
10. Push the blue Create button at the bottom. A popup will show that contains the Client ID and secret.
11. Go to the WriteBackExtreme Management console. Select security in the left menu, click oauth and hit the red `+Auth configuration` button.&#x20;
12. Set a button label.
13. Select Google as provider
14. Insert the Client ID and secret you got from Google
15. When you entered the clientID and secret, you will see the Return URL's underneath the form. Copy both URLs. you need to add these to the your Aouth app in Google.&#x20;
16. Go back to the Google console and click the oAuth app you created. Hit The `+ADD URI` button in the `Authorized redirect URIs` section. Insert the first URL.&#x20;
17. &#x20;Do the same for the second URL.&#x20;
18. Hit the blue save button at the bottom.
19. Go back to the management console and hit the \`Test OAuth\` button. A popup will open to simulate a login.&#x20;
20. After the test is complete you can hit the `Apply config` button to save your configuration
21. Done!
