Skip to main content

Prerequisites

Before you begin, you need:
  1. A Prompt Inspector account
  2. An App API Key from your dashboard
Sign up for a free account at promptinspector.io to get your API key. The free plan includes generous monthly request limits to get started.

Get Your API Key

1

Create an Account

Visit promptinspector.io and sign in with your Google or GitHub account.
2

Create an App

Navigate to the Dashboard and create a new App. Each App gets its own API key and isolated configuration.
3

Save Your API Key now

Your API Key is generated successfully but will be shown only once for security reasons. Please copy and store it in a secure location immediately. You will need this key to authenticate all API, SDK, and MCP requests.
Keep your API key secure. Do not commit it to version control or expose it in client-side code.

Choose Your Integration

Install the SDK:
Detect prompt injection:

Full Python SDK Reference

See the complete Python SDK documentation with all options.

Understanding Results

Every detection response contains:

Next Steps

Authentication

Learn about API key management and security best practices.

Error Handling

Handle errors and edge cases gracefully in your integration.

Detection Architecture

Understand how the multi-layer detection engine works under the hood.

MCP Integration

Connect Prompt Inspector to your AI development workflow.
Need help? Contact us at [email protected] or open an issue on GitHub.