Skip to content

Commit 802b2c6

Browse files
[ai-assistant] Make it clear that the API key must be private (#19244)
1 parent dbd436e commit 802b2c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/data/data-grid/ai-assistant/ai-assistant.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ The Data Grid provides all the necessary elements for integration with MUI's ser
6666
1. Contact [[email protected]](mailto:[email protected]) to get an API key for our processing service.
6767

6868
:::warning
69-
Avoid exposing the API key to the client by using a proxy server that receives prompt processing requests, adds the `x-api-key` header, and passes the request on to MUI's service.
69+
Do not expose the API key to the public. Instead, keep it private, use a proxy server that receives prompt processing requests, adds the `x-api-key` header, and passes the request on to MUI's service.
7070

7171
This is an example of a [Fastify proxy](https://www.npmjs.com/package/@fastify/http-proxy) for the prompt requests.
7272

0 commit comments

Comments
 (0)