Desired result
Add the right API URL and API Key in WAHA while using Render to host.
Steps

- Go to Manage > Environment
- Under Environment variables, setup the following key-value pair (These can be found inside the WAHA documentation)
- WAHA_API_KEY
- WAHA_DASHBOARD_PASSWORD
- WAHA_DASHBOARD_USERNAME
- WHATSAPP_SWAGGER_PASSWORD
- WHATSAPP_SWAGGER_USERNAME
- For WAHA_API_KEY, you can put down any password, e.g. IAmGoodProgrammer, or whatever text you desire, and remember this key because we will be using this again very soon.

- Open a new server
- Add the name that you prefer (There’s no impact on what name you give it to)
- API URL: {your_domain}/api/sessions (replace {your_domain} with localhost if you are running on docker, but if you are running on Render, then just go to the browser URL bar and copy your current domain)
- For API Key, refer back to the WAHA_API_KEY
- Once you fill in those three fields, click Save, and your job is done!