actions icon indicating copy to clipboard operation
actions copied to clipboard

Can't generate API key without having ACTION_HUB_SECRET already set?

Open Codenuggets opened this issue 5 years ago • 1 comments

Been following the instructions to set up my local development server on heroku and ran into this issue. image

Looks like I have to have my ACTION_HUB_SECRET env variable populated to generate an API key even though that secret has to be populated with the api key?

Codenuggets avatar Mar 12 '20 16:03 Codenuggets

@Codenuggets you need to generate your own ACTION_HUB_SECRET (i.e. https://www.uuidgenerator.net/) and add it to your environment. From there you will want to yarn start so that the server is running locally, and then call yarn generate-api-key, make sure that you have ACTION_HUB_BASE_URL set appropriately to either your localhost or to your server. This will yield you a new API key you can use in the Action Hub UI in Looker to connect to your new action hub server. Let me know if any of this is still confusing and I can help out.

luskin avatar Jun 27 '20 16:06 luskin