> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dataharbor.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Get up and running with DataHarbor in 5 minutes.

# Quickstart

Create your first governed Virtual API in three steps.

<Steps>
  <Step title="Enroll your data source">
    Connect your existing REST or document API to DataHarbor.

    ```yaml theme={null}
    # Example enrollment
    source:
      name: customer-api
      type: rest
      base_url: https://api.yourcompany.com
      auth:
        type: bearer
        token: ${CUSTOMER_API_TOKEN}
    ```
  </Step>

  <Step title="Define a Virtual API">
    Create the v0.3 Virtual API Configuration that governs the routes you want to expose.

    ```yaml theme={null}
    version: "0.3"
    objects:
      customers:
        controls:
          - type: redact
            fields:
              - ssn
              - date_of_birth

          - type: tokenize
            fields:
              - email
              - phone
    ```
  </Step>

  <Step title="Publish and consume">
    Your Virtual API is instantly available via REST or MCP delivery.

    ```bash theme={null}
    curl -H "dataharbor-api-key: YOUR_API_KEY" \
      https://service.dataharbor.co/fetch/YOUR_LEASE_ID/customers
    ```

    The response shape matches your upstream API, with your controls already applied:

    ```json theme={null}
    [
      {
        "id": "cust_123",
        "name": "Jane Doe",
        "email": "tok_abc123",
        "phone": "tok_def456",
        "ssn": "",
        "date_of_birth": ""
      }
    ]
    ```
  </Step>
</Steps>

## Next steps

<CardGroup cols={2}>
  <Card title="Connect Sources" icon="arrow-down-up" href="./sources">
    See the source-side docs for HTTP sources, route matching, and normalization
  </Card>

  <Card title="Build Virtual APIs" icon="layer-group" href="./core">
    Understand object matching, pipeline behavior, and delivery setup
  </Card>

  <Card title="Virtual APIs" icon="file-code" href="./core/virtual-apis">
    Deep dive into Virtual API configuration
  </Card>

  <Card title="Data Control" icon="shield" href="./control-blocks/data-control">
    Learn about redaction, tokenization, and anonymization
  </Card>
</CardGroup>
