N
Novu2mo 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 Jain2mo ago
add this env variable in your local running bridge application NOVU_API_URL=<your-api-url>
Omri
OmriOP2mo ago
works like a charm, maybe consider adding this to the init flow, i would never have thought i need to do it
Omri
OmriOP2mo ago
No description
Omri
OmriOP2mo ago
getting this when trying to create new workflow @Pawan Jain
Pawan Jain
Pawan Jain2mo 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
OmriOP2mo ago
Novu
Build a Workflow - Novu
Learn how to build a Novu Workflow
Novu_Bot
Novu_Bot2mo ago
@Omri, you just advanced to level 1!
Omri
OmriOP2mo ago
No description
Omri
OmriOP2mo ago
@Pawan Jain
Pawan Jain
Pawan Jain2mo ago
This option is only available in novu cloud
Omri
OmriOP2mo ago
got it.
Pawan Jain
Pawan Jain2mo ago
@Omri reopened the post
Omri
OmriOP2mo ago
what is the purpose of the playground? it doesnt seem to work
No description
Omri
OmriOP2mo ago
@Pawan Jain
Pawan Jain
Pawan Jain2mo ago
This playground is test environment for @novu/framework
Pawan Jain
Pawan Jain2mo ago
It is working for me
No description
Pawan Jain
Pawan Jain2mo ago
Can you click on the skip button?
Omri
OmriOP2mo ago
i tried, it shows an error and nothing is showing on the right
No description
Pawan Jain
Pawan Jain2mo ago
Could you please check if you see any error in console tab?
Omri
OmriOP2mo ago
No description
Pawan Jain
Pawan Jain2mo ago
🤔 Looks like underlying stackblitz webcontainers are failing
Omri
OmriOP2mo ago
not sure i know what that means 😅
Pawan Jain
Pawan Jain2mo ago
Are you currently on self host environment? If yes, then playground will not work in self host environment
Omri
OmriOP2mo ago
yes its self hosted
Linear
Linear2mo ago
Pawan Jain
Pawan Jain2mo ago
Yeah, that's what I thought. Are you able to use @novu/framework?
Pawan Jain
Pawan Jain2mo ago
@Omri I want to follow up in this, if you are able to use @novu/framework. Can I help? @Omri Closing this post due to inactivity. Feel free to create new post if you have any question

Did you find this page helpful?