Skip to content

Commit eee6c5d

Browse files
README fix for AICORE_SERVICE_KEY instructions (#137)
1 parent ebb0f0a commit eee6c5d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Additional methods (not recommended for production):
9090
**2. Create `.env` file:**
9191

9292
- Create an `.env` file in the root directory of your application
93-
- Add an entry `AICORE_SERVICE_KEY='<content-of-service-key>'`
93+
- Add a **one line** entry `AICORE_SERVICE_KEY={...}` with the copied JSON
9494

9595
<details>
9696
<summary>Set an environment variable instead of .env</summary>

sample-code/spring-app/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ Before you can run the sample app, you need to install the AI SDK into your loca
1717
1818
Next, you'll need to set up credentials for the AI Core service:
1919

20-
* Follow [these instructions](../../README.md#option-1-set-credentials-as-environment-variable) to configure the credentials via environment variables.
20+
* Follow [these instructions](../../README.md#option-1-set-ai-core-credentials) to create a service key for the AI Core service.
21+
22+
⚠️ Put the `.env` file in the sample app directory.
2123

2224
Finally, you can start the sample app:
2325

0 commit comments

Comments
 (0)