docs: added how to retrieve keys in client references (#4127)

* docs: added how to retrieve keys in js client guide

* added details about retrieving keys in medusa react
This commit is contained in:
Shahed Nasser
2023-05-18 19:03:18 +03:00
committed by GitHub
parent 7787fe96aa
commit 29a88bbf98
2 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -83,8 +83,8 @@ You can also pass the following props to Medusa Provider:
| Props | Default | Description |
| ------------------- | ------------------------- | --------------------------------------------------------- |
| `apiKey` | `''` | Optional API key used for authenticating admin requests. |
| `publishableApiKey` | `''` | Optional publishable API key used for storefront requests.|
| `apiKey` | `''` | Optional API key used for authenticating admin requests. Follow [this guide](/api/admin#section/Authentication/api_token) to learn how to create an API key for an admin user. |
| `publishableApiKey` | `''` | Optional publishable API key used for storefront requests. You can create a publishable API key either using the [admin APIs](../development/publishable-api-keys/admin/manage-publishable-api-keys.mdx) or the [Medusa admin](../user-guide/settings/publishable-api-keys.mdx). |
### Queries