ChatGPT + Manglai
There are two ways to integrate Manglai with ChatGPT:Option 1: Custom GPT with Actions (REST API)
ChatGPT supports Custom GPTs with OpenAPI-defined actions. You can create a GPT that calls the Manglai REST API directly.- Create a Custom GPT at chat.openai.com
- In Configure → Actions, import the schema:
- URL:
https://www.manglai.io/api/v1/docs
- URL:
- Set up Bearer token authentication with your Manglai token
- Define instructions so the GPT knows when to call Manglai
Option 2: Cursor with OpenAI models
If you use Cursor with OpenAI models (GPT-4o, etc.), configure the Manglai MCP in Cursor:Example Custom GPT Prompts
- “What are my company’s emissions in 2024?”
- “List electricity invoices from last month”
- “Which building generates the most CO₂?”
Generate token
Create your access token

