Documentation Index
Fetch the complete documentation index at: https://docs.portalhq.io/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Portal integrates with 0x so you can swap tokens and bridge across chains through Portal APIs and SDKs. This page covers the one‑time setup in 0x and the Portal Dashboard.Steps to enable the Portal 0x integration
1. Sign up for 0x
- Create or access your 0x account here.
- Generate a 0x API key in your 0x dashboard.
Keep your API keys secure. You’ll paste it into Portal in the next step.
2. Enable the 0x integration in Portal
- Open the Portal Dashboard.
- Navigate to the
Integrationspage. - Locate the
0xintegration and add it. - Paste your 0x API key for your selected Portal environment and save.
Integrations are environment‑scoped. Repeat these steps per Portal environment.
Cross-Chain Swaps (Experimental)
Portal also supports cross-chain swaps through 0x, allowing you to bridge and swap tokens across different EVM chains in a single operation. Cross-chain swaps use bridge providers like Across, Relay, and Stargate under the hood. To use cross-chain swaps, your 0x API key must have the cross-chain product enabled on the 0x dashboard. Standard 0x API keys only support same-chain swaps.Next steps
Implement the flow in your app: Same-chain swaps:- Swap Tokens with 0x using the iOS SDK
- Swap Tokens with 0x using the Android SDK
- Swap Tokens with 0x using the Web SDK
- Swap Tokens with 0x using the React Native SDK
- Cross-Chain Swap with 0x using the Enclave MPC API