mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2025-11-20 17:48:34 +00:00
screenshots
This commit is contained in:
parent
49f2e9758b
commit
f36eafd7e2
BIN
docs/_images/integrations/builtin/credentials/google/add-uri.png
Normal file
BIN
docs/_images/integrations/builtin/credentials/google/add-uri.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 34 KiB |
Binary file not shown.
@ -15,15 +15,30 @@ This document contains instructions for creating a generic OAuth2 Google credent
|
||||
|
||||
1. Follow the steps to [Create a credential](/credentials/add-edit-credentials/). If you create a credential by selecting **Create new** in the credentials dropdown in a node, n8n automatically creates the correct credential type for that node. If you select **Credentials > New**, you must browse for the credential type. To create a credential for a [custom API call](/integrations/custom-operations/), select **Google OAuth2 API**. This allows you to create a generic credential, then set its scopes.
|
||||
2. Note the **OAuth Redirect URL** from the node credential modal. You'll need this in the next section.
|
||||

|
||||
|
||||
??? Details "View screenshot"
|
||||

|
||||
|
||||
3. You must provide the scopes for this credential. Refer to [Scopes](#scopes) for more information.
|
||||
|
||||
### Set up OAuth in Google Cloud
|
||||
|
||||
1. Go to [Google Cloud Console](https://console.cloud.google.com/apis/credentials){:target=_blank .external-link} and make sure you're in the project you want to use.
|
||||
2. Select **+ CREATE CREDENTIALS > OAuth client ID**. If you're creating OAuth credentials for the first time, you must [configure the consent screen](https://support.google.com/cloud/answer/10311615?hl=en&ref_topic=3473162){:target=_blank .external-link}.
|
||||
|
||||
??? Details "View screenshot"
|
||||

|
||||
|
||||
2. Select **+ CREATE CREDENTIALS > OAuth client ID**. If you're creating OAuth credentials for the first time, you must [configure the consent screen](https://support.google.com/cloud/answer/10311615?hl=en&ref_topic=3473162){:target=_blank .external-link}.
|
||||
|
||||
??? Details "View screenshot"
|
||||

|
||||
|
||||
3. In the **Application type** dropdown, select **Web application**. Google automatically generates a name.
|
||||
4. In Google Cloud, select **+ ADD URI**. Paste in the OAuth redirect URL from the previous step.
|
||||
4. Under **Authorizes redirect URIs**, select **+ ADD URI**. Paste in the OAuth redirect URL from the previous step.
|
||||
|
||||
??? Details "View screenshot"
|
||||

|
||||
|
||||
5. Select **CREATE**.
|
||||
6. Enable each Google service API that you want to use:
|
||||
--8<-- "_snippets/integrations/builtin/credentials/google/enable-apis.md"
|
||||
|
||||
@ -15,17 +15,33 @@ This document contains instructions for creating a Google credential for a singl
|
||||
|
||||
1. Follow the steps to [Create a credential](/credentials/add-edit-credentials/). If you create a credential by selecting **Create new** in the credentials dropdown in a node, n8n automatically creates the correct credential type for that node. If you select **Credentials > New**, you must browse for the credential type. To connect with a specific service, using resources and operations supported by n8n, choose that service. For example, to create a credential for use in the Gmail node, search for `Gmail`.
|
||||
2. Note the **OAuth Redirect URL** from the node credential modal. You'll need this in the next section.
|
||||

|
||||
|
||||
??? Details "View screenshot"
|
||||

|
||||
|
||||
|
||||
### Set up OAuth in Google Cloud
|
||||
|
||||
1. Go to [Google Cloud Console](https://console.cloud.google.com/apis/credentials){:target=_blank .external-link} and make sure you're in the project you want to use.
|
||||

|
||||
2. Select **+ CREATE CREDENTIALS > OAuth client ID**. If you're creating OAuth credentials for the first time, you must [configure the consent screen](https://support.google.com/cloud/answer/10311615?hl=en&ref_topic=3473162){:target=_blank .external-link}.
|
||||

|
||||
|
||||
??? Details "View screenshot"
|
||||

|
||||
|
||||
2. Select **+ CREATE CREDENTIALS > OAuth client ID**. If you're creating OAuth credentials for the first time, you must [configure the consent screen](https://support.google.com/cloud/answer/10311615?hl=en&ref_topic=3473162){:target=_blank .external-link}.
|
||||
|
||||
??? Details "View screenshot"
|
||||

|
||||
|
||||
3. In the **Application type** dropdown, select **Web application**. Google automatically generates a name.
|
||||
4. In Google Cloud, select **+ ADD URI**. Paste in the OAuth redirect URL from the previous step.
|
||||
|
||||
??? Details "View screenshot"
|
||||

|
||||
|
||||
4. Under **Authorizes redirect URIs**, select **+ ADD URI**. Paste in the OAuth redirect URL from the previous step.
|
||||
|
||||
??? Details "View screenshot"
|
||||

|
||||
|
||||
5. Select **CREATE**.
|
||||
6. Enable each Google service API that you want to use:
|
||||
--8<-- "_snippets/integrations/builtin/credentials/google/enable-apis.md"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user