You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/home/auth-providers/google.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ The Google auth provider enables tools and agents to call Google/Google Workspac
6
6
7
7
<Tip>
8
8
Want to quickly get started with Google services in your agent or AI app? The
9
-
pre-built [Arcade Google toolkit](/toolkits/productivity/google/gmail) is what
9
+
pre-built [Arcade Gmail toolkit](/toolkits/productivity/gmail) is what
10
10
you want!
11
11
</Tip>
12
12
@@ -16,7 +16,7 @@ This page describes how to use and configure Google auth with Arcade.
16
16
17
17
This auth provider is used by:
18
18
19
-
- The [Arcade Google toolkit](/toolkits/productivity/google/gmail), which provides pre-built tools for interacting with Google services
19
+
- The [Arcade Gmail toolkit](/toolkits/productivity/gmail), which provides pre-built tools for interacting with Google services
20
20
- Your [app code](#using-google-auth-in-app-code) that needs to call Google APIs
21
21
- Or, your [custom tools](#using-google-auth-in-custom-tools) that need to call Google APIs
22
22
@@ -149,9 +149,9 @@ Use `client.auth.start()` to get a user token for Google APIs:
149
149
150
150
## Using Google auth in custom tools
151
151
152
-
You can use the pre-built [Arcade Google toolkit](/toolkits/productivity/google/gmail) to quickly build agents and AI apps that interact with Google services like Gmail, Calendar, Drive, and more.
152
+
You can use the pre-built Arcade Google toolkits, like [Arcade Gmail toolkit](/toolkits/productivity/gmail), to quickly build agents and AI apps that interact with Google services like Gmail, Calendar, Drive, and more.
153
153
154
-
If the pre-built tools in the Google toolkit don't meet your needs, you can author your own [custom tools](/home/build-tools/create-a-toolkit) that interact with Google APIs.
154
+
If the pre-built tools in the Google toolkits don't meet your needs, you can author your own [custom tools](/home/build-tools/create-a-toolkit) that interact with Google APIs.
155
155
156
156
Use the `Google()` auth class to specify that a tool requires authorization with Google. The `context.authorization.token` field will be automatically populated with the user's Google token:
Copy file name to clipboardExpand all lines: pages/home/auth-providers/index.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -157,7 +157,7 @@ You can create multiple auth providers of the same type, for example, you can ha
157
157
158
158
However, Arcade's tools are configured to select an auth provider by the type. This means that if you have multiple auth providers of the same type, Arcade will not know which one to use and authorizing the tool will fail.
159
159
160
-
To work around this, you can fork Arcade's tools and modify them to specify your own auth provider by the unique ID that you give each of them. For example, if you have two Google auth providers, `acme-google-calendar` and `acme-google-email`, you can modify Arcade's Google.ListEmails tool like this:
160
+
To work around this, you can fork Arcade's tools and modify them to specify your own auth provider by the unique ID that you give each of them. For example, if you have two Google auth providers, `acme-google-calendar` and `acme-google-email`, you can modify Arcade's Gmail.ListEmails tool like this:
Copy file name to clipboardExpand all lines: pages/home/auth/call-third-party-apis-directly.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -168,7 +168,7 @@ For each item in the list/array, you could use the [`users.messages.get`](https:
168
168
</Steps>
169
169
170
170
<Note>
171
-
Consider using the [Arcade Google toolkit](/toolkits/productivity/google/gmail), which simplifies the process for retrieving email messages even further! The pattern described here is useful if you need to directly get a token to use with Google in other parts of your codebase.
171
+
Consider using the [Arcade Gmail toolkit](/toolkits/productivity/gmail), which simplifies the process for retrieving email messages even further! The pattern described here is useful if you need to directly get a token to use with Google in other parts of your codebase.
Copy file name to clipboardExpand all lines: pages/home/auth/how-arcade-helps.mdx
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ With Arcade, developers can now create agents that can _act as the end users of
28
28
29
29
### Auth permissions and scopes
30
30
31
-
Each tool in Arcade's toolkits has a set of required permissions - or, more commonly referred to in OAuth2, **scopes**. For example, the [`Google.SendEmail`](/toolkits/productivity/google/gmail#sendemail) tool requires the [`https://www.googleapis.com/auth/gmail.send`](https://developers.google.com/identity/protocols/oauth2/scopes#gmail) scope.
31
+
Each tool in Arcade's toolkits has a set of required permissions - or, more commonly referred to in OAuth2, **scopes**. For example, the [`Gmail.SendEmail`](/toolkits/productivity/gmail#gmailsendemail) tool requires the [`https://www.googleapis.com/auth/gmail.send`](https://developers.google.com/identity/protocols/oauth2/scopes#gmail) scope.
32
32
33
33
A scope is what the user has authorized someone else (in this case, the AI agent) to do on their behalf. In any OAuth2-compatible service, each kind of action requires a different set of permissions. This gives the user fine-grained control over what data third-party services can access and what actions can be executed in their accounts.
34
34
@@ -41,7 +41,7 @@ To learn how Arcade allows for actions (tools) to be authorized through OAuth2 a
41
41
42
42
### Tools that don't require authorization
43
43
44
-
Some tools, like [`Search.SearchGoogle`](/toolkits/search/google_search#searchgoogle), allow AI agents to retrieve information or perform actions without needing user-specific authorization.
44
+
Some tools, like [`GoogleSearch.Search`](/toolkits/search/google_search#googlesearchsearch), allow AI agents to retrieve information or perform actions without needing user-specific authorization.
0 commit comments