.png)
Fivetran Integration Guide
Integrate Fivetran with enterprise systems through its REST API, selected operational webhooks, asynchronous connector operations, and destination data interfaces.
Fivetran integration options at a glance
Fivetran’s primary integration surface is its REST API, which can manage connectors, destinations, groups, users, configuration, and synchronization operations. Fivetran also provides webhook-style notifications for selected operational events, such as connector or sync status changes. Connector synchronization is asynchronous and may use incremental extraction, change tracking, or other source-specific techniques. Martini can consume the REST API, receive supported webhook notifications, poll operation status, and orchestrate provisioning, monitoring, and catalog workflows. API key and API secret credentials are supplied through HTTP Basic Authentication, while source and destination credentials remain connector-specific. Replicated data is normally queried through the configured destination’s native database or analytics interface.
Common Fivetran integration patterns
Common Fivetran data objects used in integrations
Authentication and security considerations
Fivetran REST API authentication
The Fivetran REST API uses an API key and API secret supplied through HTTP Basic Authentication. Permissions are determined by the associated Fivetran user or account.
Credential separation
Source and destination credentials are connector-specific and may use OAuth, API keys, database credentials, service accounts, cloud credentials, or SSH keys. They should not be confused with Fivetran REST API credentials.
- Store API keys and secrets in Martini secured environment configuration.
- Use separate credentials and configuration for development, staging, and production where appropriate.
- Do not expose credentials in workflow definitions, mappings, logs, or client-facing responses.
- Verify permissions before exposing connector-management operations through a Martini API.
Operational considerations for Fivetran integrations
Rate limits and pagination
Fivetran applies REST API usage limits, and collection endpoints can be paginated. Martini workflows should use controlled schedules, bounded retries, backoff, caching for stable metadata, and complete pagination handling.
Asynchronous operations
An accepted API request does not prove that synchronization completed. Track in-progress, successful, failed, paused, disabled, and timed-out states through polling or supported notifications.
Idempotency and schema changes
Store connector IDs, internal request IDs, checkpoints, and processed event keys. Validate required fields and plan for source-specific changes to schemas, fields, deletion behavior, pagination, rate limits, and authentication.
Testing and monitoring
- Test connector-specific behavior before production rollout.
- Verify webhook payload validation and acknowledgement behavior.
- Monitor workflow logs and retain operational audit information without sensitive credentials.
- Use destination-native testing for workflows that inspect replicated data.
Why use Martini instead of scripts or point-to-point integrations?
Orchestration beyond individual API calls
Scripts can call the Fivetran REST API, but Martini provides a maintainable workflow model for provisioning, polling, webhook processing, validation, mapping, retries, and downstream updates.
Reusable enterprise controls
Martini can expose controlled APIs, centralize secured configuration, apply environment-specific business rules, and reuse integration assets across connector-management and monitoring workflows.
Operational reliability
- Handle asynchronous states instead of assuming immediate completion.
- Apply bounded retries, timeouts, pagination, and idempotency controls.
- Publish normalized status to ServiceNow, catalogs, dashboards, or other enterprise systems.
- Keep Fivetran platform management separate from destination-native data processing.