Skip to Content
Product GuideIntegrations

Integrations

Portal integrates with various external services for data, maps, authentication, and analytics.

Integration Overview

┌─────────────────────────────────────────────────────────────┐ │ PORTAL │ └───────────────────────────┬─────────────────────────────────┘ │ ┌───────────────────────┼───────────────────────┐ │ │ │ ▼ ▼ ▼ ┌─────────┐ ┌─────────┐ ┌─────────┐ │ DATA │ │ MAPS │ │ AUTH │ ├─────────┤ ├─────────┤ ├─────────┤ │Repliers │ │ Mapbox │ │ Google │ │WordPress│ │ Google │ │Facebook │ │Ghost/MD │ │ │ │Email OTP│ └─────────┘ └─────────┘ └─────────┘ │ │ │ ▼ ▼ ▼ ┌─────────┐ ┌─────────┐ ┌─────────┐ │ CRM │ │ANALYTICS│ │ OTHER │ ├─────────┤ ├─────────┤ ├─────────┤ │Follow Up│ │ Google │ │ Email │ │ Boss │ │Analytics│ │ SMS │ │ │ │ GTM │ │ │ └─────────┘ └─────────┘ └─────────┘

Data Integrations

Repliers API

The primary data source powering Portal. The frontend never calls Repliers directly — it talks to a proxy backend at NEXT_PUBLIC_API_URL (default http://localhost:8080, with an /api prefix), which forwards requests to Repliers. The endpoints below are reached through that proxy.

EndpointPurpose
/api/listingsProperty search and details
/api/locationsGeography data (cities, areas)
/api/estimateAVM property valuations
/api/usersAuthentication and profiles
/api/favoritesSaved properties
/api/searchesSaved search queries

MLS Data

Property data flows from MLS to Portal:

MLS (NWMLS, TRREB, etc.) │ ▼ ┌───────────────┐ │ Repliers │ ← Normalizes data │ Data Layer │ └───────┬───────┘ │ ▼ ┌───────────────┐ │ Repliers │ ← Serves to Portal │ API │ └───────┬───────┘ │ ▼ ┌───────────────┐ │ PORTAL │ └───────────────┘

Content Management

Portal supports multiple content sources via three CMS clients, with per-route resolution configured in @configs/cms:

SourceUse Case
WordPressBlog, dynamic pages
GhostBlog, dynamic pages
MarkdownCMS-served Markdown content
Local MDXStatic pages, forms (fallback)

Full documentation: Content Management Guide

Map & Location

Mapbox GL

Primary map provider for interactive maps.

FeatureUsage
Map TilesBase map rendering
MarkersProperty locations
ClustersGrouped markers
GeocodingAddress to coordinates
Draw ToolsPolygon search areas

Environment Variables:

NEXT_PUBLIC_MAPBOX_KEY=pk.xxx

Google Maps Services

ServicePurpose
Street ViewProperty street views
Places APIAddress autocomplete
GeocodingFallback geocoding

Environment Variables:

NEXT_PUBLIC_GMAPS_KEY=AIzaXxx

Authentication

Supported Methods

Authentication is a server/proxy redirect flow: the backend returns an AuthResponse.url that the client redirects to. The AuthProvider values are google, facebook, and otp.

MethodProvider
Email OTP (one-time passcode)otp
Google OAuthgoogle
Facebook OAuthfacebook

Auth Flow

┌──────────┐ ┌──────────┐ ┌──────────┐ │ User │ │ Portal │ │ Proxy │ │ Action │────▶│ Auth │────▶│ Backend │ └──────────┘ └──────────┘ └──────────┘ │ ┌───────────────┼───────────────┐ │ │ │ ▼ ▼ ▼ ┌──────────┐ ┌──────────┐ ┌──────────┐ │ Email │ │ Google │ │ Facebook │ │ OTP │ │ OAuth │ │ OAuth │ └──────────┘ └──────────┘ └──────────┘

CRM Integration

Follow Up Boss

Lead management system integration for real estate teams.

EventAction
Contact FormCreate/update lead
Estimate RequestCreate lead with property
Showing RequestCreate lead with listing

Lead Data Flow

User submits form │ ▼ ┌───────────────┐ │ Portal API │ └───────┬───────┘ │ ▼ ┌───────────────┐ │ Follow Up │ │ Boss │ └───────┬───────┘ │ ▼ Agent receives lead notification

Analytics & Tracking

Google Analytics 4

EventWhen Tracked
page_viewPage loads
searchSearch performed
view_itemProperty viewed
add_to_wishlistSaved to favorites
generate_leadForm submitted

Google Tag Manager

Central tag management for:

  • Google Analytics
  • Facebook Pixel
  • Conversion tracking
  • Custom events

Environment Variables:

NEXT_PUBLIC_GTM_KEY=GTM-XXXX

Facebook Pixel

Retargeting and conversion tracking:

EventPurpose
PageViewGeneral tracking
ViewContentProperty views
LeadForm submissions
SearchSearch activity

Email Services

Transactional Emails

Email TypeTrigger
WelcomeNew user registration
Password ResetReset request
Saved Search AlertNew matching listings
Favorite UpdatePrice change on saved

Environment Variables Summary

# API — proxy backend that forwards to Repliers (never called directly) NEXT_PUBLIC_API_URL=http://localhost:8080 # Maps NEXT_PUBLIC_MAPBOX_KEY=pk.xxx NEXT_PUBLIC_GMAPS_KEY=AIzaXxx # Analytics NEXT_PUBLIC_GTM_KEY=GTM-XXXX NEXT_PUBLIC_GTAG_KEY=G-XXXX
Last updated on