sanity-io / sanity-algolia

Utilities for indexing Sanity documents in Algolia
MIT License
67 stars 16 forks source link

Update README.md #8

Closed eunjae-lee closed 3 years ago

eunjae-lee commented 3 years ago

Algolia provides 2 types of key:

In this context, we need the latter to create/update records. However it's not meant to be exposed to public (like on frontend code, or in GitHub repo). So we recommend people to put it in the environment variable and let them access it like this.

What do you think?

runeb commented 3 years ago

Thanks @eunjae-lee