Quickstart

Welcome to DataCork — WireGuard VPN-as-a-Service for AI agents.

Prerequisites

Step 1: Create a session

Terminal window
curl -X POST https://api.datacork.com/v1/sessions \
-H "Authorization: Bearer $DATACORK_API_KEY" \
-H "Content-Type: application/json" \
-d '{"exitNodeRegion": "us-east-1", "wireguardPublicKey": "<your-wg-pubkey>"}'

Step 2: Receive WireGuard config

The API response includes your WireGuard peer configuration. Apply it to bring the tunnel up.

Step 3: Verify connectivity

Terminal window
curl -s https://api.datacork.com/v1/sessions/me | jq '.status'

More detailed guides coming soon.