Getting Started

Getting up and running with TruePortAI is a simple process that requires zero changes to your core application logic.

Prerequisites

  • An account with an AI provider (e.g., OpenAI, Anthropic).

  • A secure storage bucket (AWS S3 or Azure Blob Storage).

  • A TruePortAI API Key.

Installation

TruePortAI is a cloud-native service. There is no software to install on your servers.

Integration

To integrate TruePortAI, simply update your AI SDK configuration to point to the TruePortAI gateway.

Example: OpenAI SDK (Node.js)

const OpenAI = require('openai');

const openai = new OpenAI({
  apiKey: 'your-provider-api-key',
  baseURL: 'https://api.trueportai.com/v1',
  defaultHeaders: {
    'x-trueport-key': 'your-trueport-api-key'
  }
});

Example: OpenAI SDK (Python)

from openai import OpenAI

client = OpenAI(
    api_key="your-provider-api-key",
    base_url="https://api.trueportai.com/v1",
    default_headers={
        "x-trueport-key": "your-trueport-api-key"
    }
)