1. Choose the exchange and how to enter credentials
Tell the agent which exchange you use and what to name the account. It should calllist_account_connectors, select the matching connector and read its required credential fields rather than guessing them.
Choose one of these credential-entry methods:
An exchange IP allowlist limits where a key can be used and reduces misuse risk, but it does not make a disclosed key harmless. For stronger protection against model or host exposure, use website entry. Never put login passwords, authenticator codes or recovery codes in the agent conversation.
2. Create the API key at your exchange
Most exchanges: choose a System-generated / HMAC API key, which provides an API key and an API secret. Use this option rather than self-generated RSA or Ed25519 keys when the exchange offers that choice. Coinbase uses a different key format. Portfobit’s Coinbase connector uses Advanced Trade / CDP credentials. Choose ECDSA (P-256 / ES256), enter the full CDP key name (organizations/.../apiKeys/...) as the API key, and paste the complete PEM private key as the API secret, including its BEGIN and END markers. These are different from legacy Coinbase Exchange HMAC credentials. See the Coinbase key guide.
- Open the exchange’s official app or website and sign in to the intended main account or sub-account.
- Look under your profile, account settings or services for API Management, API or API Keys, then choose Create API Key. If the app has no such option, use the official website.
- Give the key a recognizable name, such as
Portfobit. - Select the appropriate key type described above and follow the selected connector’s required credential fields.
- Select permissions for what you want Portfobit to do, configure any IP restrictions, and complete the exchange’s own security verification.
- Store the API key and secret securely. If the exchange requires an API passphrase, keep that too; it is the API passphrase you created, not your exchange login password. Some secrets are shown only once.
Choose permissions deliberately
- Enable the reading permissions needed for balances, positions and account history.
- Enable trading or same-exchange internal-transfer permissions only if you want those capabilities. Portfobit’s protected actions still require the necessary OAuth scopes, explicit confirmation and trading OTP authorization through a supported private input path.
- Keep Withdraw, external-address transfers and other unrelated permissions disabled. Do not grant broad permissions just to clear a setup error. Portfobit never supports withdrawals, external transfers, cross-exchange transfers or P2P transfers.
Decide whether to bind IP addresses
For a read-only key, IP binding is optional when the exchange allows it; you can still enable it for stronger protection. Trading permissions may require IP restrictions. For example, Binance’s unrestricted HMAC keys are limited to reading under its default controls. Follow the exchange’s current requirements without disabling its security controls. When IP binding is required or you choose to use it, get the current Portfobit service IPs through either setup path:- Using the website: open Dashboard → Accounts → Add Account. The IP Whitelist section displays the current IP addresses; use Copy IPs to copy them for your exchange API key’s allowlist.
- Using your AI agent: ask:
Use portfobit to list the current service egress IPs for my exchange API allowlist.The agent calls
list_service_egress_ips. Whichever path you use, add all current active Portfobit IPs to the exchange key’s allowlist. Use these service IPs rather than your device’s IP or the agent host’s IP, and check the current list whenever configuring a new key or changing restrictions.
3. Connect the account
For AI-assisted entry, first agree to the credential visibility described above. Let the agent collect only the selected connector’s required fields, then callcreate_account_connection with the name, connector and permissions you chose. Never enable withdrawal permission. If the OAuth grant lacks account:write, choose whether to authorize it or use website entry instead.
For website entry, fill Dashboard → Accounts → Add Account yourself, select the matching exchange, enter the key, secret and any required passphrase, set the permissions to match the exchange key, and submit. You do not need to send the credentials back to the agent.
You can start with:
Help me connect my Binance account as Long-term. Discover the connector, guide me through API Management and the permissions and IP settings, explain MCP versus website credential entry, then check the connection and first sync.