Skip to content

Commit 3d3127d

Browse files
committed
add token everywhere for beginners
1 parent a4ec7c5 commit 3d3127d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/inference-providers/guides/first-api-call.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ Set your token as an environment variable:
5454
export HF_TOKEN="your_token_here"
5555
```
5656

57+
You can add this line to your `.bash_profile` or similar file for all your terminal environments to automatically source the token.
58+
5759
The Python or TypeScript code snippet will use the token from the environment variable.
5860

5961
<hfoptions id="python-code-snippet">

0 commit comments

Comments
 (0)