# Connector Templates

# Connector Templates

Curiosity Workspace provides templates and examples to accelerate the development of data connectors for common systems.

# Available Templates

  • File System: Ingest documents and metadata from local or networked drives.
  • SQL Database: Connect to PostgreSQL, MySQL, or SQL Server to sync relational data into the graph.
  • REST API: A generic template for fetching data from JSON-based web services.
  • SaaS Connectors: Examples for popular platforms like Slack, Jira, and ServiceNow.

# Using a Template

  1. Download the Template: Open your workspace into API integrations and click on the download button on the bottom right (C# and Python templates available).
  2. Configure Credentials: Generate an API token for the connector.
  3. Map Fields: Define how source fields map to your Workspace node and edge schemas.
  4. Test: Run the connector in a development environment to validate the mapping.

# Best Practices for Connectors

  • Error Handling: Implement retries and logging for failed requests.
  • Batching: Process data in batches to optimize throughput and reduce API load.
  • Idempotency: Use stable keys to ensure that re-running the connector does not create duplicates.

# Contribution

Have you built a connector for a system not listed here? Consider sharing it with the community or contributing it to our reference library.