Skip to content

Commit

Permalink
Address feedback on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
sdserranog committed Feb 20, 2025
1 parent 964a057 commit a0cccaf
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pages/home/_meta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
7 changes: 6 additions & 1 deletion pages/home/custom-tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down
3 changes: 1 addition & 2 deletions pages/home/use-tools/call-tools-directly.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -30,8 +31,6 @@ You can find your Arcade API key in one of these locations:
export ARCADE_API_KEY=<your-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.
Expand Down
4 changes: 2 additions & 2 deletions pages/home/use-tools/call-tools-with-models.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ 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

Create a new file in your favorite editor. If you followed the OpenAI quickstart guide, use the `example.py` or `example.mjs` file you created.

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.
<Tabs items={["Python", "JavaScript"]}>
<Tabs.Tab>

Expand Down

0 comments on commit a0cccaf

Please sign in to comment.