> For the complete documentation index, see [llms.txt](https://docs.ratehopper.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ratehopper.ai/introduction/getting_started.md). Agents can also search and read this documentation through its [MCP server](https://docs.ratehopper.ai/~gitbook/mcp).

# Getting Started

Welcome! This guide will help you get up and running with Ratehopper in just a few minutes.

> **Want to see the product working before you set anything up?** The [live agent showcase](https://ratehopper.ai/#live-agents) shows a real agent running on Base right now - what it has deployed, what it has earned, and how much debt it has paid down.

***

## Prerequisites

Before you start, make sure you have:

* ✅ A Web3 wallet (MetaMask, Coinbase Wallet, WalletConnect, etc.)
* ✅ Some crypto assets on Base network
* ✅ A small amount of ETH for gas fees

***

## Step 1: Connect Your Wallet

1. Visit [Ratehopper](https://ratehopper.ai)
2. Click **"Connect Wallet"** in the top right corner
3. Select your wallet provider from the list
4. Approve the connection request in your wallet

✅ **Wallet Connected!** Your wallet address will appear in the top right.

***

## Step 2: Sign In to Authenticate

After connecting your wallet, you'll need to **sign a message** to authenticate:

1. Click the **"Sign In"** button on the dashboard
2. A signature request will appear in your wallet
3. Click **"Sign"** to approve the message

### 🔐 Why do I need to sign in?

**Security & Privacy:**

* The signature proves you own the wallet address
* No blockchain transaction or gas fees required
* Your private keys never leave your wallet

**Access Your Data:**

* View your existing Safe wallet and automation settings
* Access your saved preferences and notification settings
* See your personalized automation history

**Enable Features:**

* Check if you have a Safe wallet deployed
* Access automation and agent management
* Enable secure communication with our backend

💡 **One-Time Setup:** You only need to sign in once per session. The signature doesn't cost any gas!

🎉 **You're authenticated!** Now you can access all features.

***

## Step 3: Explore Your Dashboard

Once connected, you'll see your Dashboard with:

### 📊 Live Rate Opportunities

* Current best rates across all protocols
* Real-time APY comparisons
* Potential savings from switching

### 💼 Deploy an Agent

* All your lending positions across protocols
* All your borrowing positions
* Current rates and values
* Deploying an Agent to help with your desired strategy (the Self Repay Agent, or the Managed USDC LP Agent for liquidity with no borrowing)

***

## Step 4: Deploy Your Safe Wallet & Set Up Automation

To enable automated rate optimization, you'll need to deploy a Safe wallet:

### Why Deploy a Safe Wallet?

**Security:**

* Multi-signature security for your positions
* Industry-standard smart contract wallet
* Complete control over your assets

**Automation:**

* Required for AI agents to optimize your rates
* Enables 24/7 monitoring and execution
* Set it and forget it - your agent does the work

**Position Management:**

* Easily manage and [unwind positions](https://docs.ratehopper.ai/support/unwinding_positions.md) via the Safe interface
* Full transparency with all transactions visible on-chain

### Deployment Steps:

1. Go to the **Dashboard** tab
2. Click **"Get Started"** or **"Deploy Safe Wallet"**
3. Review the deployment details
4. Approve the transaction in your wallet (requires gas fee)
5. Wait for confirmation (usually 15-30 seconds)

✅ **Safe Wallet Deployed!** Now you can set up automation.

### Set Up Your AI Agent:

1. After deploying your Safe wallet, you'll get to select an Agent:

   * **LP Agent** - the self-repaying loan: it earns trading fees and pays them onto your debt
   * **Managed USDC LP Agent** - Liquidity provision from your own cash, no borrowing and no liquidation risk ([deploy one](https://ratehopper.ai/earn); minimum deposit 10 USDC)

   Every agent you create during a season also enters the [Range Hunter Leaderboard](https://ratehopper.ai/leaderboard) automatically.
2. Open your Safe wallet page from the dashboard and click the **"Deploy"** button on your chosen agent card
3. Configure your preferences:
   * **Target protocols:** Which platforms to use for swaps
   * **Minimum rate difference:** How much better before switching
   * **Notification settings:** Get alerts for important events
4. Follow the agent-specific setup flow
5. Your AI agent is now active and your position appears on the wallet page

💡 **Exiting Positions:** All agents support in-app position exit. Use the "Close Position" or "Exit My Position" flow to unwind your position and return funds to your Safe wallet. See [Agent Actions](https://docs.ratehopper.ai/features/agent_actions.md) for details.

💡 **Set & Forget:** Your agent continuously monitors rates and automatically switches when better opportunities arise.

[Learn more about automated agents →](https://docs.ratehopper.ai/features/automation.md)

***

## Step 5: Track Your Progress

### Monitor Performance

* Check your dashboard daily for updates
* Review executed switches and savings
* Track your total savings over time

### Earn Achievements

* Complete DeFi activities to unlock badge records
* Mint eligible achievements as NFTs
* Track badges in your Achievements page

### Compete on Leaderboards

* See how you rank against other users
* Compete for top positions
* Track top savers and onchain performance

***

## Quick Start Examples

### A. A self-repaying loan (the flagship)

**"I don't want to sell my crypto, but I want liquidity from it - and I don't want to babysit the debt."**

1. **Connect your wallet** and **sign in** (no gas fee)
2. **Deploy a Safe wallet** from the dashboard (one-time gas fee)
3. **Deploy the LP Agent** and choose:
   * How much collateral to supply and how much to borrow against it
   * A **signal version** - *Adaptive Exit (v12)* is recommended; it reacts hourly and steps out of the pool when its risk signals turn against the position
   * A **range width** - a narrower band earns more per hour in range, but the price leaves it more often, and a position outside its band earns nothing
4. **Turn on Auto-Exit** when prompted - this is your liquidation protection
5. **Sign and execute** through your Safe
6. **That's it.** From here the agent runs the loop on its own: earn trading fees → harvest them → pay them onto your debt. It also steps out of the pool when the signal turns against your position.

**See it for yourself first:** the [live showcase](https://ratehopper.ai/#live-agents) runs exactly this setup on real capital, with the tracked figures published.

***

### B. Automated rate optimization (set & forget)

**"I already have a borrow position and just want the best rate on it"**

1. **Connect your wallet** with existing DeFi positions
2. **Sign in** to authenticate (no gas fee)
3. **Deploy a Safe wallet** from the dashboard (one-time gas fee)
4. **View your positions** - Ratehopper detects them automatically
5. **Click "Set Instructions"** in Agent Actions on any active position you want to optimize
6. **Configure preferences:**
   * Minimum rate difference before switching
   * Target protocols: select which platforms to use
   * Notifications: choose which alerts you want (everything starts switched off)
7. **Activate automation** - your agent starts working 24/7
8. **Monitor results** - check the dashboard for executed switches

How much this saves depends on your position size and how far apart protocol rates are at the time. Check the current spread on [Rate Comparison](https://docs.ratehopper.ai/advanced/rate_comparison.md) rather than assuming an average.

***

### C. Earn leaderboard rewards

**"I want my agent to compete"**

Every Self Repay Agent and Managed USDC LP Agent created during a season enters automatically - there is nothing to mint. Each agent is scored on the LP fees it collects plus realized profit on LP exits (a realized loss counts as $0), over its first 30 days or until the season ends. After that its score is frozen; the agent keeps running. To qualify for a share of the 1,000,000 $ROO reward pool, stake at least 5,000 $ROO, or 5 $ROO for every dollar your eligible agents manage, whichever is larger. Track it on the [leaderboard](https://ratehopper.ai/leaderboard).

***

## Common Questions

### "How much does it cost?"

Deploying and monitoring agents is free. You pay:

* Gas fees for blockchain transactions
* Protocol fees (standard DeFi fees)
* Ratehopper fees on managed liquidity positions only: 2.5% of the trading fees harvested and 10% of the profit when a position closes in profit. Rate switching and liquidation protection carry no Ratehopper fee. Details in the [FAQ](https://docs.ratehopper.ai/support/faq.md#what-fees-does-ratehopper-charge).

### "Is my money safe?"

Yes! Ratehopper is non-custodial:

* We never hold your funds
* All transactions require your approval
* Built on audited, battle-tested protocols

### "What if rates change after I switch?"

That's normal in DeFi! Our automation feature helps by:

* Monitoring rates 24/7
* Switching when better opportunities appear
* Keeping you in the best rates automatically

### "Can I try without real money?"

Currently, Ratehopper works with real positions on mainnet. We recommend:

* Starting with small amounts
* Using stablecoins (less price risk)
* Monitoring your first few automated switches to understand how the agent works

***

## Next Steps

Now that you're set up, explore more features:

1. [**Agent Actions**](https://docs.ratehopper.ai/features/agent_actions.md) - Explore all agent types and exit features
2. [**Rate Comparison**](https://docs.ratehopper.ai/advanced/rate_comparison.md) - Compare rates across all protocols
3. [**Automation & AI Agents**](https://docs.ratehopper.ai/features/automation.md) - Set up autonomous optimization
4. [**Unwinding Positions**](https://docs.ratehopper.ai/support/unwinding_positions.md) - Learn how to close positions manually
5. [**Join the community**](https://docs.ratehopper.ai/support/contact.md) - Get help and share experiences

***

## Need Help?

* 📚 **Read the** [**FAQ**](https://docs.ratehopper.ai/support/faq.md) - Common questions answered
* 🔄 [**Unwinding Positions**](https://docs.ratehopper.ai/support/unwinding_positions.md) - Manual position closing guide
* 💬 **Join our Telegram** - Get help from the community
* 📧 **Email <support@ratehopper.ai>** - Direct support

***

**Ready to maximize your DeFi returns?** [Start comparing rates →](https://docs.ratehopper.ai/advanced/rate_comparison.md)
