A Meu Pluggy guide brings Brazilian bank data to Grok Bot read-only through secrets
Source read in fullRead first
Overview
A Brazilian user wants Grok Bot to answer questions like how much was spent this month. Meu Pluggy aggregates the user's banking data for read-only access.
Workflow
- What it is: A Portuguese step-by-step guide in an MIT repo, with no official connector. Connect your own banking data from Brazilian open finance aggregator Meu Pluggy to Grok Bot read-only. It follows Pluggy's official personal-use and API documentation and makes no payments, transfers or writes.
- Grok Bot parts used: Secure secret entry and chat queries. Enter PLUGGY_CLIENT_ID, PLUGGY_CLIENT_SECRET and PLUGGY_ITEM_IDS when the bot opens the secret field. Ask for balances, spending this month, large or recurring expenses and comparisons with the prior month. Not part of Grok Bot: A Meu Pluggy account (up to 5 bank connections, synced every 24 hours) and app authorization in Pluggy Dashboard. The optional Python 3.10+ sample uses GET and POST /auth to obtain a token.
- You need: A Meu Pluggy account that also signs in to Pluggy Dashboard, and Grok Bot access. Python 3.10+ is optional. Personal use is limited to 5 connections and excludes commercial use. Read authorization expires after a year. GET /v2/items is unavailable to Meu Pluggy accounts, so record each itemId manually.
- Install:
- Step 1: Register at meu.pluggy.ai and connect each bank individually, authorizing each separately.
- Step 2: Open Pluggy Dashboard with the same account, enable the MeuPluggy connector in the app rather than the bank connector, then click Conectar Conta on Demo and choose MeuPluggy login. Choosing the wrong connector asks again for CPF and bank app approval.
- Step 3: Note each itemId and Client ID and generate the Client Secret, shown once.
- Step 4: Ask the bot to open the secret field and enter all three values. Original prompt: Abre o campo de segredo para eu salvar as credenciais do Meu Pluggy. Never paste secrets into chat.
- Step 5: Ask the bot directly for this month's spend, account balances or recent transactions.
- Step 6 (optional): Copy and fill .env.example, then run scripts/listar_contas_e_transacoes.py to verify the connection.
- After install: The bot exchanges credentials for a 2-hour API key and answers from read-only account and transaction queries. If the data is empty, check for expired consentExpiresAt and whether the connection still exists. The script can list accounts and recent transactions.
- Did the author run it: The repository has no run records from the author. The README says it follows official docs and makes no claim of a real run.
Key points and results
- Maturity: At fetch time on 2026-11-21 the repo was 1 day old, with 1 commit, 0 stars and an MIT license.
- Permissions and boundaries: Read-only with no payments, Pix or transfers. Personal data only, with no commercial use. Put secrets only in Grok Bot's secret field and keep them out of chat, issues and the repo. Replace the Client Secret and update the secret field if it may have leaked.
- Known limits: Bank connections sync every 24 hours. After a year the app authorization expires, reads are empty and refresh reports LOGIN_ERROR/USER_AUTHORIZATION_EXPIRED. A POST /auth key lasts only 2 hours. Reuse it instead of fetching one per request. Maintain itemId manually.
- Worth borrowing: Match each field to where to obtain it (README step 4). Check for expired authorization in sequence when data goes empty (README authorization section). Asking the bot to open a secret field for API credentials can transfer to other third-party APIs (README step 5).
Source
- Platform
- GitHub
- Author
- vitorkloy
- Published
- Categories
- Life assistant, Getting started
What this evidence label means
Source read in full
We read the source (post, article or transcript). That only means the original was read. It does not mean this site reproduced the author's results.