# Running Connectors

To run a data connector, you need to authenticate with the Curiosity Workspace using API tokens.

# Obtaining Tokens

  1. API Token: Navigate to Manage > API Integrations and click "Create API Token".
  2. Endpoint Token: Navigate to Manage > Tokens and create an "Endpoints" token.

# Configuration

If you are using the standard templates, set the following environment variables:

  • CURIOSITY_API_TOKEN: Your API integration token.
  • CURIOSITY_ENDPOINTS_TOKEN: Your endpoints token.

# Execution

Run your connector using the .NET CLI:

dotnet run --project MyConnector.csproj

# Exploration

Once finished, explore the data in the workspace:

  • Data Browser: Manage > Data to see node counts and properties.
  • Shell: Manage > Shell to run C# queries against the graph.
// Example Shell Query
return Q().StartAt(N.Device.Type).Take(10).Emit();