Getting Started
Welcome to Anfitrión. Configuring your property correctly is the first step to getting accurate data and clear profitability.
Accessing the Application
Anfitrión is designed to be functional from the start, even before connecting your own database.
1. Demo Mode (offline)
If you're testing the application locally and haven't configured your Supabase credentials yet, you'll automatically enter Demo Mode.
- You'll have access to all sections (Dashboard, Budgets, etc.).
- You'll see sample data to understand how information flows.
- You can interact with the interface to familiarize yourself with the tools.
2. Connected Mode (production)
Once you set the environment variables VITE_SUPABASE_URL and VITE_SUPABASE_ANON_KEY, security activates automatically:
- You'll see the Sign In screen.
- You must use the credentials configured in your Supabase Auth panel.
- The application loads data from your PostgreSQL database on login and saves changes to property, budgets, transactions, bookings and campaigns to Supabase.
- Direct URL access to protected pages is blocked for unauthenticated users.
If the database is empty on first connection, a notice will invite you to perform the initial setup or load demo data to start working.
Initial Setup
To lay the foundations of your management, head to the configuration sections in the side menu.
1. Creating a Property
In the Property section, define the name of your accommodation (e.g. "Beach Apartment"), its address, and most importantly the acquisition date. All financial calculations are made from this date forward.
2. Platform Configuration
In the Platforms section, indicate the channels you list your property on (Airbnb, Booking.com, Direct, etc.).
- Fees: Define the fee percentage each one charges.
- Payment model: Some platforms deduct the fee before paying you (Airbnb), while others send the invoice afterwards (Booking.com).
3. Category Definitions
In the Categories section, customize the expense groups (Cleaning, Bills, Maintenance) to match how you work.
4. Investment Configuration (in Property)
If you have a mortgage, enter the details in the property configuration. The application will automatically include the mortgage in your cash flow forecasts.
5. Application Management (optional)
In the Application section of the side menu, you'll find tools to manage the system globally:
- Appearance: Change the visual theme of the application.
- Database: If you want to see how the tool looks with real data before entering yours, use the Populate Database button.
- Delete Data: If you want to return to the initial state or completely remove the current property and its history, use this option (requires confirmation).
6. Profile Management
From the sidebar (desktop) or the Settings drawer in the bottom bar (mobile), you can access your Profile to manage your visible name and password, or sign out.
Initial Recommendations
- Choose your language: Use the globe icon in the header to switch the entire interface between English (default) and Spanish.
- Be consistent: Record your expenses as soon as you receive the invoice or receipt.
- Use the receipt scanner: It makes data entry easier — accepts camera, image and PDF. If you configure a Claude or OpenRouter API key, amount and date detection is much more accurate.
- Define a budget: Create budget items for your fixed expenses (Electricity, Water, Internet, Mortgage).
- Keep documentation: Take photos or upload PDFs of your receipts. They're stored as attachments to each transaction in the cloud.