N
Novu2w ago
Omri

API Key not found in studio

Hello, I have a setup of novu self hosted on my kubernetes cluster the api web and websocket are accecible via ingress on AWS ALB. I'm trying to set up the studio locally and im able to get to this page, and getting "API Key not found". endpoint is set up using:
npx novu@latest init \
--secret-key=<my key> \
--api-url=https://<my novu api domain>
npx novu@latest init \
--secret-key=<my key> \
--api-url=https://<my novu api domain>
then run using:
❯ npm run dev

> next dev --port=4000

▲ Next.js 14.2.3
- Local: http://localhost:4000
- Environments: .env.local

✓ Starting...
✓ Ready in 1682ms
❯ npm run dev

> next dev --port=4000

▲ Next.js 14.2.3
- Local: http://localhost:4000
- Environments: .env.local

✓ Starting...
✓ Ready in 1682ms
Studio is set up using:
npx novu@latest dev -d https://<my novu dashboard domain>/ -o http://localhost:4000 -t <ngrok forwarded ip to my>
npx novu@latest dev -d https://<my novu dashboard domain>/ -o http://localhost:4000 -t <ngrok forwarded ip to my>
No description
27 Replies
Pawan Jain
Pawan Jain2w ago
add this env variable in your local running bridge application NOVU_API_URL=<your-api-url>
Omri
OmriOP2w ago
works like a charm, maybe consider adding this to the init flow, i would never have thought i need to do it
Omri
OmriOP2w ago
No description
Omri
OmriOP2w ago
getting this when trying to create new workflow @Pawan Jain
Pawan Jain
Pawan Jain2w ago
@Omri workflow can not created from UI workflow can only be created from code Local studio is for preview, test and manual sync
Omri
OmriOP2w ago
Novu
Build a Workflow - Novu
Learn how to build a Novu Workflow
Novu_Bot
Novu_Bot2w ago
@Omri, you just advanced to level 1!
Omri
OmriOP2w ago
No description
Omri
OmriOP2w ago
@Pawan Jain
Pawan Jain
Pawan Jain2w ago
This option is only available in novu cloud
Omri
OmriOP2w ago
got it.
Pawan Jain
Pawan Jain2w ago
@Omri reopened the post
Omri
OmriOP2w ago
what is the purpose of the playground? it doesnt seem to work
No description
Omri
OmriOP2w ago
@Pawan Jain
Pawan Jain
Pawan Jain2w ago
This playground is test environment for @novu/framework
Pawan Jain
Pawan Jain2w ago
It is working for me
No description
Pawan Jain
Pawan Jain2w ago
Can you click on the skip button?
Omri
OmriOP2w ago
i tried, it shows an error and nothing is showing on the right
No description
Pawan Jain
Pawan Jain2w ago
Could you please check if you see any error in console tab?
Omri
OmriOP2w ago
No description
Pawan Jain
Pawan Jain2w ago
🤔 Looks like underlying stackblitz webcontainers are failing
Omri
OmriOP2w ago
not sure i know what that means 😅
Pawan Jain
Pawan Jain2w ago
Are you currently on self host environment? If yes, then playground will not work in self host environment
Omri
OmriOP2w ago
yes its self hosted
Linear
Linear2w ago
Pawan Jain
Pawan Jain2w ago
Yeah, that's what I thought. Are you able to use @novu/framework?
Pawan Jain
Pawan Jain4d ago
@Omri I want to follow up in this, if you are able to use @novu/framework. Can I help?

Did you find this page helpful?