Skip to content

rushout09/supportGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Add GPT to your intercom Chat.

Known limitations:

  1. Signed webhooks from intercom are not verified yet.
  2. Yet to write steps to deploy in production.

Steps to set up:

  1. Clone the repo using:
 git clone [email protected]:rushout09/supportGPT.git
  1. Add a .env file with following details:
OPENAI_KEY=
ORG_ID=
INTERCOM_KEY=
intercom_admin_id=
  1. Create a virtual env and Install the requirements file:
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
  1. Install cloudflare tunnel to proxy your localhost (Optional)
brew install cloudflared
cloudflared tunnel --url http:https://localhost:8000
  1. Follow this guide to setup webhooks on intercom: https://developers.intercom.com/building-apps/docs/setting-up-webhooks
  2. Run the following command to start the server:
uvicorn main:app --reload