-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
684020d
commit 964a057
Showing
11 changed files
with
104 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
--- | ||
title: "Getting Your API Key" | ||
description: "Learn how to obtain and manage your Arcade API key" | ||
--- | ||
|
||
import { Steps, Tabs } from "nextra/components"; | ||
|
||
# Getting Your API Key | ||
|
||
|
||
Before you begin, you'll need an Arcade account - if you haven't created one yet, you can [sign up here](https://api.arcade.dev/signup). Once you have an account, you can generate API keys through either our dashboard or CLI. | ||
|
||
|
||
<Tabs items={["Dashboard", "CLI"]}> | ||
|
||
|
||
<Tabs.Tab> | ||
|
||
### Using the Dashboard | ||
|
||
<div className="flex justify-center my-4"> | ||
<video | ||
src="/videos/API_Keys.mp4" | ||
autoPlay | ||
muted | ||
playsInline | ||
className="w-full max-w-[900px] rounded-xl shadow-2xl" | ||
controls | ||
></video> | ||
</div> | ||
|
||
<Steps> | ||
### Navigate to API Keys page | ||
Visit the [API Keys page](https://api.arcade.dev/dashboard/api-keys) in Arcade Dashboard. | ||
|
||
### Create a new API key | ||
1. Click the `Create API Key` button in the top right | ||
2. Enter a descriptive name to help identify your key | ||
3. Click `Create API Key` to generate your key | ||
|
||
### Save your API key securely | ||
1. Copy your API key immediately - it will only be shown once | ||
2. Store it securely | ||
3. You can always generate new keys if needed | ||
|
||
</Steps> | ||
|
||
</Tabs.Tab> | ||
|
||
<Tabs.Tab> | ||
|
||
### Using the CLI | ||
|
||
<Steps> | ||
|
||
### Install and login | ||
1. Install the Arcade CLI: | ||
```bash | ||
pip install arcade-ai | ||
``` | ||
2. Start the login process: | ||
```bash | ||
arcade login | ||
``` | ||
|
||
### Complete setup | ||
The CLI will automatically: | ||
- Print your API key to the console | ||
- Save your credentials to `~/.arcade/credentials.yaml` | ||
|
||
</Steps> | ||
|
||
</Tabs.Tab> | ||
</Tabs> | ||
|
||
<Warning type="warning"> | ||
API keys are administrator credentials. Anyone who has your API key can make requests to Arcade as you. Always store your API keys in a safe place, such as system environment variables, and never commit them to version control, share them publicly, or use them in browser or frontend code. | ||
</Warning> | ||
## Next Steps | ||
|
||
Once you have your API key, you can: | ||
- [Start using tools](use-tools/call-tools-directly) | ||
- [Call tools with LLMs](use-tools/call-tools-with-models) | ||
- [Create custom tools](custom-tools) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters