You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in your docs, you're mentioning authToken, but I can't seem to find the way to set/get/fix this.
How do I get a token, in order to be able to push data to a widget?
Your product is totally awesome, but documentation is kind of sparse.
Best,
Tomaz
The text was updated successfully, but these errors were encountered:
I'm sorry that wasn't clear in the docs. I'm still planning to write some more guides on how to do common things.
You can configure the auth token in two ways.
In your dashbling.config.js:
module.exports={// other config hereauthToken: "just testing"};
This is not recommended though, because you'd be committing the token into your repository.
Using an environment variable.
The AUTH_TOKEN environment variable can be used to set the authToken. How you set this exactly depends a little on your deployment strategy. In Heroku for example you can simply add an environment variable called AUTH_TOKEN, for local development you might run AUTH_TOKEN=development yarn start in your terminal.
Let me know if something still isn't clear! I'll try to write this up in a guide soon.
Hi,
in your docs, you're mentioning authToken, but I can't seem to find the way to set/get/fix this.
How do I get a token, in order to be able to push data to a widget?
Your product is totally awesome, but documentation is kind of sparse.
Best,
Tomaz
The text was updated successfully, but these errors were encountered: