Skip to content

Commit

Permalink
README fix for AICORE_SERVICE_KEY instructions (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesDuboisSAP authored Nov 4, 2024
1 parent ebb0f0a commit eee6c5d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Additional methods (not recommended for production):
**2. Create `.env` file:**

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

<details>
<summary>Set an environment variable instead of .env</summary>
Expand Down
4 changes: 3 additions & 1 deletion sample-code/spring-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ Before you can run the sample app, you need to install the AI SDK into your loca
Next, you'll need to set up credentials for the AI Core service:

* Follow [these instructions](../../README.md#option-1-set-credentials-as-environment-variable) to configure the credentials via environment variables.
* Follow [these instructions](../../README.md#option-1-set-ai-core-credentials) to create a service key for the AI Core service.

⚠️ Put the `.env` file in the sample app directory.

Finally, you can start the sample app:

Expand Down

0 comments on commit eee6c5d

Please sign in to comment.