Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve documentation on local env setup #38

Closed
pawelphilipczyk opened this issue Oct 28, 2020 · 5 comments
Closed

Improve documentation on local env setup #38

pawelphilipczyk opened this issue Oct 28, 2020 · 5 comments

Comments

@pawelphilipczyk
Copy link

I've deployed my next.js commerce based project and cloned it.
I can see that all env values in Vercel dashboard are set and encrypted.
Then I generated my store api account in BigCommerce and I got all values except for BIGCOMMERCE_STOREFRONT_API_TOKEN (which is not the same thing as BIGCOMMERCE_STORE_API_TOKEN).

I can see in BigCommerce api docs I could generate storefront api token with postman or something but this seems a bit complicated.

Am I missing something simple? :D It feels like I am. I guess this is a call for docs improvement on local dev setup.

@madchester
Copy link

maybe this will help #13

@pawelphilipczyk
Copy link
Author

Thanks, it worked! I guess this is a piece of cake for someone familiar with Vercel CLI.

Do you know where do those generated values live? I do not see this client anywhere in my BigCommerce dashboard.
This is a bit (too) magical.

@RayeEThompson
Copy link

You can see API token values or generate them in your BigCommerce Control Panel you can find out how to do this here.

@okbel
Copy link
Contributor

okbel commented Nov 2, 2020

@pawelphilipczyk ! Those are part of Vercel<>BigCommerce integration - As soon as you pull those env vars, you are ready to go. 😌

We updated our README! And more docs coming soon! Thank you!

@okbel okbel closed this as completed Nov 2, 2020
@bryandandan
Copy link

Can anybody tell me where the env values are actually being used/called in the code?

persi123 pushed a commit to persi123/commerce that referenced this issue Oct 21, 2021
Wkasel pushed a commit to DSCO-Co/poochie that referenced this issue Apr 26, 2023
added contact form UI and backend route to capture form data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants