Remote APIs
Martian API


How to Integrate Martian with Jan

This guide provides step-by-step instructions on integrating Martian with Jan, enabling users to leverage Martian's capabilities within Jan's conversational interface.

Before proceeding, ensure you have the following:

  • Access to the Jan application
  • Martian API credentials

Integration Steps

Step 1: Configure Martian API Key

  1. Obtain Martian API Keys from your Martian Dashboard (opens in a new tab).
  2. Copy your Martian API Key and the endpoint URL you want.
  3. Navigate to the Jan app > Settings.
  4. Select the Martian.
  5. Insert the API Key and the endpoint URL into their respective fields.

Server Setup

You can also manually edit the JSON file in ~/jan/settings/@janhq/inference-martian-extension.

Step 2: Start Chatting with the Model

  1. Navigate to the Hub section.
  2. Select the Martian model you want to use.

Martian is the default extension for the Jan application. All the Martian models are automatically installed when you install the Jan application.

  1. Specify the model's parameters.
  2. Start the conversation with the Martian model.

Start Model


If you encounter any issues during the integration process or while using Martian with Jan, consider the following troubleshooting steps:

  • Double-check your API credentials to ensure they are correct.
  • Check for error messages or logs that may provide insight into the issue.
  • Reach out to Martian API support for assistance if needed.