Skip to main content

Overview

Portal integrates with Yield.xyz so your users can, with their Portal wallets:
  • Earn yield: discover 1,000+ staking, lending-pool and liquidity opportunities, enter / manage / exit positions, and track history.
  • Lend and borrow: supply collateral, borrow, repay and withdraw on Aave, Morpho Blue, SparkLend and Lista, with positions, health factors and liquidation history.
Both run through the same Yield.xyz account and API key, and the same Yield.xyz integration in the Portal Dashboard. Portal proxies every call server-side, so the key never ships in your app. This page covers the one‑time setup; the per-capability guides are linked at the bottom.

Steps to enable the Portal Yield.xyz integration

1. Sign up for Yield.xyz

  • Create or access your Yield.xyz account here.
  • Yield: click on each yield type in the Yield.xyz dashboard and tick the checkboxes by each yield opportunity to enable them.
  • Lend & borrow: enable the lending markets you want to offer (for example Aave V3 on Base). Only enabled markets are returned by default; see the Borrow guide for details.
Yield.xyz Dashboard
Yield.xyz Staking Yields
  • Then, generate 2 Yield.xyz API keys in your Yield.xyz dashboard (one for your Portal Development environment and one for your Portal Production environment). Each key covers yield, lending and borrowing.
Keep your API keys secure. You’ll paste it into Portal in the next step.

2. Enable the Yield.xyz integration in Portal

  1. Open the Portal Dashboard.
  2. Navigate to the Integrations page.
  3. Locate the Yield.xyz integration (under Yield, badged YIELD, LEND and BORROW) and add it.
  4. Paste your Yield.xyz API key for your selected Portal environment and save.
Once saved, Portal will proxy your SDK/API calls to Yield.xyz using this key securely from Portal’s servers, so you won’t need to embed it in your application code. Enabling the integration turns on yield, lending and borrowing together; there is nothing separate to add.
Integrations are environment‑scoped. Repeat these steps per Portal environment.
Need some advice on legal disclaimers when integrating Yield.xyz? Check out Yield.xyz’s disclaimer guidelines here.

Next steps

Earn yield

Implement the yield flow in your app using our guides:

Lend and borrow