Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Update apollo-config.md #1087

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/source/devtools/apollo-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ There are a few different ways you can link your client to a schema:

To link your client to a schema through the Apollo schema registry, you'll need to have at least one version of your schema uploaded to the [registry](https://www.apollographql.com/docs/studio/schema-registry/).

With Apollo Studio set up, you can point your client directly to your graph's schema by specifying your graph's name in your Apollo config, like so:
With Apollo Studio set up, you can point your client directly to your graph's schema by specifying your graph's name in your Apollo config. You can find the exact graph name via your APOLLO_KEY environment variable, formatted as `service:<graph-name>:<private-key>`.

```js{3}
module.exports = {
client: {
service: 'my-apollo-service' // the name of your graph in Studio
service: 'my-apollo-service'
}
};
```
Expand Down