diff --git a/pages/home/_meta.tsx b/pages/home/_meta.tsx index e2b13a1..9a61e1b 100644 --- a/pages/home/_meta.tsx +++ b/pages/home/_meta.tsx @@ -43,7 +43,7 @@ export default { title: "Quickstart", }, "api-keys": { - title: "How to get an API key", + title: "Get an API key", }, "use-tools": { title: "Tool Calling", diff --git a/pages/home/custom-tools.mdx b/pages/home/custom-tools.mdx index 923cd81..ce06d23 100644 --- a/pages/home/custom-tools.mdx +++ b/pages/home/custom-tools.mdx @@ -19,7 +19,12 @@ Let's set up Arcade and give it a try! ### Obtain an API key -You'll need an Arcade API key to get started. Visit the [How to get an API key](/home/api-keys) page to create one if you haven't already. +Install the Arcade CLI and SDK and log in. Your Arcade API key will be printed to the console as well as saved to `~/.arcade/credentials.yaml`. + +```bash +pip install arcade-ai +arcade login +``` ### Try `arcade chat` diff --git a/pages/home/use-tools/call-tools-directly.mdx b/pages/home/use-tools/call-tools-directly.mdx index 4905688..edf499b 100644 --- a/pages/home/use-tools/call-tools-directly.mdx +++ b/pages/home/use-tools/call-tools-directly.mdx @@ -18,6 +18,7 @@ You still get the benefits of Arcade managing authorization and tool execution, ### Prerequisites - [Set up Arcade](/home/quickstart) +- Create an Arcade [API key](/home/api-keys), if you haven't already ### Set environment variables @@ -30,8 +31,6 @@ You can find your Arcade API key in one of these locations: export ARCADE_API_KEY= ``` -> Need an Arcade API key? Visit the [How to get an API key](/home/api-keys) page to create one. - ### Initialize the client Import and initialize the Arcade client. The client automatically uses the `ARCADE_API_KEY` environment variable. diff --git a/pages/home/use-tools/call-tools-with-models.mdx b/pages/home/use-tools/call-tools-with-models.mdx index 4b7860f..072aabc 100644 --- a/pages/home/use-tools/call-tools-with-models.mdx +++ b/pages/home/use-tools/call-tools-with-models.mdx @@ -18,6 +18,8 @@ To do this, you'll build an AI chatbot that can star GitHub repositories on your - [Set up Arcade](/home/quickstart) - Sign up for an [OpenAI account](https://platform.openai.com/signup) and follow their [quickstart guide](https://platform.openai.com/docs/quickstart) +- Create an Arcade [API key](/home/api-keys), if you haven't already +- Export your Arcade API key as the `ARCADE_API_KEY` environment variable ### Initialize the OpenAI client @@ -25,8 +27,6 @@ Create a new file in your favorite editor. If you followed the OpenAI quickstart Use the OpenAI client, and change the base URL and API key to point to Arcade: -> Need an Arcade API key? Visit the [How to get an API key](/home/api-keys) page to create one. -