-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Deploying with Koyeb
Sourav edited this page Nov 29, 2022
·
2 revisions
Click deploy button on home page
Get DATABASE_URL
from render.com (recommended) or railway.app. Read: How to get Database url?
Fill required info including DATABASE_URL
& KOYEB_API_KEY
, then deploy.
Bot will now start running
Get Koyeb api key from API page, type name and then click create API access token
Copy API key and go to app, service, then click three dots and tap on edit service configuration
Go to your bot number and type:
>process.env.KOYEB_API_KEY="YOUR_API_KEY"
( API key must be inside quotes ", no response will come if its success.)
After this, type:
.setvar KOYEB_API_KEY:YourKeyHere
Now you can update/setvar remotely from WhatsApp!