Go to poe.com .
Sign up, then click on "Create Bot."
Poe offers two methods for setting the bot behavior: a. Using a prompt. b. Using a server.
Since we’ll be using monetizebot.ai’s API, we will be using a server to set the behavior of the bot.
Poe recommends employing modal.com to create a server for deploying the bot.
The steps to do so:
Scroll down and visit https://developer.poe.com/server-bots/quick-start.
Open the command prompt/terminal on your local device and enter the following commands:
pip install modal-client
python -m modal token new --source poe
git clone <https://github.com/poe-platform/server-bot-quick-start
>
cd server-bot-quick-start
pip install -r requirements.txt
Navigate to echobot.py in the newly created folder and replace the code in the file with the code in the file attached below:
After doing so, deploy the app using the command:
python -m modal deploy echobot.py
Click on the first link in the command prompt to verify the successful deployment.
We will now be deploying the app on Poe. To do so, return to poe’s webpage and scroll down to enter details under the “Use Server” section:
Paste the Server URL copied from the command prompt or terminal in the “Server URL” section.
Give a suitable bio for your bot, then click on "Create Bot," and you're all set!
Get ready for payday 🚀