Skip to content

Commit 0837394

Browse files
committed
clarify "new app" in readme
1 parent 7e331c4 commit 0837394

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ If you'd like to learn more about persisted queries, email [[email protected]
1212

1313
## Setup
1414

15-
Sign up at [OneGraph](https://www.onegraph.com) and update the `/.env` file with your app's id.
15+
Use an existing OneGraph app or sign up sign up at [OneGraph](https://www.onegraph.com) to create a new app. Update the `/.env` file with your app's id.
1616

1717
Remove the generated files (they're tied to the OneGraph app they were generated with)
1818

@@ -30,7 +30,7 @@ yarn install
3030

3131
This project uses Relay as its GraphQL client because of its high-quality compiler and great support for persisted queries.
3232

33-
To create the token that's stored with the persisted query, you'll need to get a OneGraph token with GitHub credentials. Create a new app at [onegraph.com](https://www.onegraph.com), go the "Server-side Auth", click the "Create Token" button, and add GitHub to the services. Export `OG_GITHUB_TOKEN` when you run the Relay compiler.
33+
To create the token that's stored with the persisted query, you'll need to get a OneGraph token with GitHub credentials. Go the "Server-side Auth" tab in the OneGraph dashboard for your app, click the "Create Token" button, and add GitHub to the services. Export `OG_GITHUB_TOKEN` when you run the Relay compiler.
3434

3535
You'll also need to get an API token for OneGraph itself to store persisted queries. Go to the "Persisted queries" tab on the OneGraph dashboard, scroll down, and click "Create token". This will create a scoped token for your app that can create persisted queries on your behalf. Use the token as `OG_DASHBOARD_ACCESS_TOKEN` below.
3636

0 commit comments

Comments
 (0)