macOS
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
Windows
py -m venv env
.\env\Scripts\activate
pip install -r requirements.txt
-
Obtain your API ID and API hash from https://my.telegram.org/ -> API Development Tools.
-
Go to the Pipedrive Developer Hub, create an app, name it whatever, and paste the following callback URL.
https://pipedrive-provider-api.herokuapp.com/auth/pipedrive/callback
-
Hit Save, go to the Oauth and access scopes tab, enable messaging integration, and upload the
manifest.json
file.
-
Click this: https://pipedrive-provider-api.herokuapp.com/
-
Enter your phone number associated with your telegram account, it should include the country code, so "+1" for the US.
-
Enter the rest of the associated information from telegram and pipedrive.
-
When you submit, you should get an auth code from Telegram to input into the field.
-
You will be redirected to an OAuth page that will connect the plugin to Pipedrive, accept it.
-
Enter a random channel id (it doesn't matter), leave
provider type
as other, and enter a channel name you'd like. -
All done, send a message from Telegram to anybody (could be yourself), and refresh the pipedrive page.
Follow this tutorial: https://developers.pipedrive.com/tutorials/building-messaging-app-integration-with-pipedrive?step=4
https://www.cloudkp.com/2023/02/how-to-run-telethon-in-flask-site.html