šŸš€
JetPero
  • Welcome to JetPero API Platform
  • Getting Started
    • Quickstart
  • Signup & Setup
  • Your First API Key
  • Basics
    • Integrations
    • API Requests & Responses
    • SDKs & Tools
  • Features
    • API Key Management
    • Monitoring & Analytics
    • Alerts & Notifications
    • Security
  • Plans & Limits
    • Pricing
    • Rate Limits
  • Help
    • Troubleshooting & FAQ
    • Contact Support
Powered by GitBook
On this page
  • šŸ”§ How to Integrate a Provider via JetPero
  • āš™ļø Automated Configuration Templates
  • šŸ—ļø Working with Custom Integrations
  • šŸ” Security & Token Handling
  • šŸ’”Example Use Cases:
  • šŸ”„ Rotating and Managing API Keys
  • šŸ§‘ā€šŸ’» Need Help?
  1. Basics

Integrations

Integrating your services and APIs with JetPero is simple and efficient. Thanks to our automated API configuration templates, you can quickly connect your existing applications, services, or third-par

PreviousYour First API KeyNextAPI Requests & Responses

Last updated 1 month ago


šŸ”§ How to Integrate a Provider via JetPero

JetPero simplifies API integrations by providing pre-configured templates for various services. Instead of manually setting up each connection, follow these simple steps to integrate a provider:

  1. Select the project you want to integrate (e.g., abc.co).

  2. Go to your Admin Panel → Add new API

  3. From the list of supported providers, select the provider you want to integrate (e.g., OpenAI, ElevenLabs, etc.).

  4. Enter your provider’s API key (only needed for the first time setup, JetPero securely stores it afterward).

  5. Choose the integration template that matches the provider’s functionality (e.g., OpenAI - ChatGPT, OpenAI - Image Generation).

  6. Review the settings, and save the integration.

JetPero will then automatically configure the connection, so you don’t have to worry about manually setting up the endpoint URLs or authorization headers.


āš™ļø Automated Configuration Templates

We’ve pre-configured integration templates for various providers to help speed up your setup. These templates handle all the heavy lifting of connecting to the provider’s API, including setting the right endpoints, headers, and parameters.

For example, if you’re integrating OpenAI:

  1. Select OpenAI - Chat Completion in the integration template list.

  2. The system auto-configures the base url to https://api.openai.com/v1/model.

  3. JetPero automatically sets the necessary authorization and headers, ensuring that you don’t need to manually enter or expose your API key.


šŸ—ļø Working with Custom Integrations

If JetPero doesn’t have an out-of-the-box template for your specific provider, you can easily create a custom integration:

  1. Go to Admin Panel→ Add new API → Custom Configure.

  2. Enter the Base URL, API key, and choose the authentication method (e.g., API key, OAuth).

  3. JetPero will create the integration and let you configure it with the needed endpoints.


šŸ” Security & Token Handling

Once your integration is set up, JetPero ensures secure token management by storing API keys and tokens only in the project’s environment, keeping them safe from any frontend exposure.

For each project, JetPero uses the project-specific token for authentication. This means each project’s API keys and configurations are securely isolated.


šŸ’”Example Use Cases:

  1. Connecting OpenAI for Chat Completion

To call OpenAI’s chat/completions endpoint via JetPero’s proxy, use the following request:

curl https://api.jetpero.com/proxy/openai/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <Your-Project-Token>" \
  -d '{
    "model": "gpt-4",
    "messages": [
      {"role": "user", "content": "Hello, who are you?"}
    ]
  }'
  1. Connecting OpenAI for Image Generation

curl https://api.jetpero.com/proxy/openai/images/generations \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <Your-Project-Token>" \
  -d '{
    "prompt": "A futuristic cityscape at sunset",
    "n": 1,
    "size": "1024x1024"
  }'

In both examples, JetPero uses the project token for secure API access, and you don’t need to worry about provider key management.

šŸ”„ Rotating and Managing API Keys

If needed, you can rotate or revoke your provider's API keys at any time:

  1. Go to your Admin panel → Under API key table.

  2. Click Edit on the provider you want to update.

  3. Change the API key, and save.

  4. JetPero will automatically update the integration for you.

āš ļø Important: Rotating or revoking the API key will require you to update the provider in your project settings to ensure continued operation of the integration.


šŸ§‘ā€šŸ’» Need Help?


Need help? Contact us anytime via the Support section in your dashboard or email

[email protected]