Getting Started

Welcome to PrecogX! ๐ŸŽ‰

Follow these steps to secure your AI agents with PrecogX. Each phase builds on the previous one, creating a complete security solution.

Create Account๐ŸŽ‰

Congratulations! Your account is ready and activated. You're now on the tier. Browse the menu, check to see your live data, and explore all the features available to you.

Get Your API Key๐Ÿ”‘

In demo mode, you can view sample API keys. Activate your free trial to create real API keys for integration.

API key creation is disabled in demo mode. Activate your free plan to create real API keys.

Connect Your AI Agent๐Ÿค–

Connect your AI agent to PrecogX. Once linked, real telemetry and detections will stream instantly.

SDK Integration

Use our Python SDK for seamless integration with your AI applications.

pip install precogx-sdk
from precogx import PrecogXClient
client = PrecogXClient(
api_key="px_live_your_actual_api_key_here"
)

API Integration

Send telemetry data directly via HTTP API calls.

curl -X POST https://api.precogx.com/v1/telemetry/ingest \
-H "Content-Type: application/json" \
-H "x-api-key: px_live_your_actual_api_key_here" \
-d '{'
"agent_id": "your-agent-id",
"prompt": "user input",
"response": "ai response"
}'

Framework Integration

Integrate with popular AI frameworks like LangChain, LlamaIndex, and more.

# LangChain Integration
from langchain.callbacks import PrecogXCallback

callback = PrecogXCallback(
    api_key="px_live_your_actual_api_key_here"
)

# Use with your LLM
llm = ChatOpenAI(callbacks=[callback])

No Code Platform

Connect with Flowise, Dify, n8n, and other no-code AI platforms.

# Flowise Integration
1. Add PrecogX node to your Flowise canvas
2. Configure with your API key:
   px_live_your_actual_api_key_here
3. Connect to your AI flow

Agentic AI Platform Integrations๐Ÿ”Œ

Connect your favorite no-code AI platforms and workflow automation tools.

Flowise

No-code LLM workflows

Setup:

  1. Add HTTP Request node to your flow
  2. Set URL: https://api.precogx.ai/api/v1/integrations/flowise/telemetry
  3. Add header: x-api-key: your_api_key
  4. Send chatflow data after each interaction
View Guide

n8n

Workflow automation

Setup:

  1. Add HTTP Request node to your workflow
  2. Set URL: https://api.precogx.ai/api/v1/integrations/n8n/telemetry
  3. Add authentication header with your API key
  4. Trigger after AI interactions in your workflow
View Guide

Dify

LLM app development

Setup:

  1. Go to App Settings โ†’ Integrations
  2. Add webhook: https://api.precogx.ai/api/v1/integrations/dify/telemetry
  3. Configure API key authentication
  4. Enable telemetry on conversation events
View Guide

Custom Integration

Direct API integration

Setup:

  1. Use our REST API or SDKs
  2. Send POST requests to telemetry endpoints
  3. Include agent metadata and interaction data
  4. Implement proper error handling
API Docs

Test Your Integration

Activate your free plan to test real AI agent connections and see live data in your dashboard.

Activate your free plan to test real AI agent connections

What's Next?๐ŸŽฏ

Once your AI agent is connected, explore these powerful features to maximize your security.

Monitor Detections

View real-time security alerts and threat detections

Configure Alerts

Set up Slack notifications and custom alert rules

Agent Analytics

Monitor agent performance and trust scores

API Management

Create and manage API keys for different environments

Threat Analysis

Analyze patterns and investigate security incidents

Documentation

Access comprehensive guides and API references

Resources & Support๐Ÿ“š

Need help? We're here to support you every step of the way.

Documentation

Comprehensive guides, API references, and integration examples.

View Docs

Community

Join our community for support, tips, and best practices.

Join Community

Support

Get personalized help from our support team.