Skip to content

Commit

Permalink
add api key via deployment section
Browse files Browse the repository at this point in the history
  • Loading branch information
jalling97 committed Oct 7, 2024
1 parent 19ed089 commit ee2aa81
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions website/content/en/docs/dev-with-lfai-guide/dev_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ In order to utilize the LeapfrogAI API outside of the User Interface, you'll nee

#### Via the UI

To create a LeapfrogAI API key via the user interface, perform the following in the UI (reference the [Quick Start](https://docs.leapfrog.ai/docs/local-deploy-guide/quick_start/#checking-deployment) guide for where the UI is deployed):
The easiest way to create a LeapfrogAI API key is via the user interface. Perform the following in the UI (reference the [Quick Start](https://docs.leapfrog.ai/docs/local-deploy-guide/quick_start/#checking-deployment) guide for where the UI is deployed):

- Select the **Settings** icon ⚙️ in the top-right corner
- Select **API Keys**
Expand All @@ -34,7 +34,11 @@ To create a LeapfrogAI API key via the user interface, perform the following in

#### Via the deployment

TODO: Write this
If you prefer not use the UI (or the UI is not deployed), you can use the following guides to create an API key:

1-hour JWT via Supabase: [instructions](https://github.com/defenseunicorns/leapfrogai/blob/main/packages/supabase/README.md#troubleshooting)

Long-lived API key via the API: [instructions](https://github.com/defenseunicorns/leapfrogai/blob/main/src/leapfrogai_api/README.md#running)

### Install dependencies

Expand Down

0 comments on commit ee2aa81

Please sign in to comment.