Integration Overview

LocallyGrown provides built-in integrations with essential services and offers data export capabilities to help you connect with your existing business ecosystem.

πŸ“Š Data Export

Export order data, user information, and sales reports to CSV format for use in external systems.

πŸ”Œ Built-in Services

Core integrations with payment processing and email delivery services are included.

πŸ“ˆ Analytics Ready

Structured data exports work with popular business intelligence and reporting tools.

πŸ”’ Secure Access

All integrations respect user permissions and market-specific data boundaries.

Current Integrations

πŸ’³ Payment Processing

Stripe Integration

Secure payment processing with support for credit cards, debit cards, and account balances.

  • Credit/debit card processing
  • Secure payment storage
  • Refund handling
  • Payment webhooks for external systems

πŸ“§ Email Services

Mailgun

Reliable email delivery for order confirmations, notifications, and communications.

  • Transactional emails
  • Delivery tracking
  • Email analytics
  • Template management

πŸ—ΊοΈ Maps & Geocoding

Leaflet + OpenStreetMap

The grower, pickup-location, and market maps render with Leaflet using OpenStreetMap tiles. No API key is required β€” tiles are pulled from tile.openstreetmap.org and respect OSM's attribution terms.

MapQuest Geocoder

Addresses entered for markets, pickup locations, and growers are geocoded through MapQuest's Geocoding API via the node-geocoder library. The GEOCODING_API_KEY environment variable holds the MapQuest key; the service validates that returned coordinates fall inside a known North American bounding box before saving them.

πŸ›‘οΈ reCAPTCHA

Google reCAPTCHA v3

New-account signup and sign-in are protected by Google reCAPTCHA v3. The client obtains a token from Google, the server verifies it against www.google.com/recaptcha/api/siteverify using the RECAPTCHA_SECRET_KEY, and requests below the configured score threshold are rejected. If the secret is unset (as in local dev) verification is skipped.

πŸ“ˆ Observability

Sentry

Both the client and server are instrumented with @sentry/sveltekit, and the Node process additionally loads the profiling integration. The DSN comes from SENTRY_DSN (or PUBLIC_SENTRY_DSN on the client); errors surfaced from the impersonation middleware, audit exports, and payment flows are routed here. See the security guide for what redaction is applied before events ship.

βš™οΈ Core Infrastructure

Redis (ioredis)

A Redis instance backs the three background-work queues β€” emails, background tasks, and Stripe webhooks β€” through BullMQ. The same Redis also holds short-lived cache entries (market lookups, rate limiters). Connection is via ioredis; local dev uses the instance launched by Docker Compose.

Sharp (image processing)

Uploaded grower, product, and market photos are resized, re-encoded, and optimized with Sharp. Sharp is a native Node addon; if image uploads fail on deploy, a missing platform-specific binary is the first thing to check.

anchor-pki (local HTTPS)

Local development runs under HTTPS at locallygrown-svelte.lcl.host:44340 by way of anchor-pki, which issues and rotates trusted SSL certificates for the .lcl.host domains. This is a dev-only concern β€” production TLS is terminated upstream.

Data Export Options

LocallyGrown provides CSV export functionality to help you integrate data with external business tools.

πŸ“¦ Order Data Export

Export detailed order information for accounting and fulfillment systems.

  • Complete order details
  • Customer information
  • Product and pricing data
  • Payment status and methods

πŸ‘₯ User Data Export

Export customer and grower information for CRM and communication systems.

  • Customer contact details
  • Account preferences
  • Grower information
  • Membership status

πŸ“Š Sales Reports

Export sales data for business intelligence and accounting purposes.

  • Revenue summaries
  • Product performance
  • Customer analytics
  • Grower sales data

External System Integration

Using CSV Exports

CSV files can be imported into most business applications:

  • Accounting Software: QuickBooks, Xero, FreshBooks
  • Spreadsheets: Excel, Google Sheets, Numbers
  • CRM Systems: Salesforce, HubSpot, Pipedrive
  • Email Marketing: Mailchimp, Constant Contact, Campaign Monitor

API Access

For custom integrations, LocallyGrown provides API endpoints that can be used to build custom connections with your business systems. See our API documentation for details.

Custom Integration Needs? If you need specific integrations or have questions about connecting LocallyGrown with your business systems, contact your market administrator or technical support for guidance.

Setting Up Integrations

Exporting Data

  1. Log into your market administration panel
  2. Navigate to the appropriate section (Orders, Users, etc.)
  3. Look for "Export" or "Download CSV" options
  4. Select date ranges and filters as needed
  5. Download and import into your external system

Automating Data Transfer

For regular data synchronization, consider setting up scheduled exports or using the API to automate data transfer between systems.

Data Privacy and Security

  • All data exports respect user permissions and market boundaries
  • Sensitive information is protected according to privacy policies
  • Export access is logged for security auditing
  • Data should be handled securely in external systems

Ready to Connect Your Systems?

LocallyGrown's integration capabilities help you connect with your existing business tools while maintaining data security and user privacy.