How to integrate RouterLink in TypingMind

circle-info

This documentation is provided for informational purposes only and demonstrates how to configure and use our API with third-party AI chat interfaces. Any third-party software, websites, or services mentioned are not operated, controlled, or endorsed by us.


Overview

This tutorial guides you through integrating RouterLinkโ€”WORLD3's decentralized AI model routing infrastructureโ€”with TypingMind, a professional AI chat interface platform.

Purpose

RouterLink provides a unified API endpoint that routes requests to multiple AI model providers through a decentralized network. By integrating RouterLink with TypingMind, you gain access to a diverse range of large language models (LLMs) without managing multiple API keys or provider-specific configurations.

What You Will Learn

By completing this tutorial, you will:

  • Configure TypingMind to connect with RouterLink's API endpoint

  • Authenticate using your RouterLink API credentials with custom headers

  • Add and manage AI models available through the RouterLink network

  • Execute inference requests through TypingMind's conversational interface

Prerequisites

Before proceeding, ensure you have:

  • A RouterLink API key (obtain one from the Quick Start Guidearrow-up-right)

  • A web browser with internet access

  • Basic familiarity with API configuration concepts


Introduction to TypingMind

TypingMind is a professional, customizable chat interface (UI) that enables users to interact with multiple large language models (LLMs) such as GPT, Claude, and Gemini from a single platform. It offers enhanced features for organizing conversations, managing prompts, uploading documents for context (RAG), and building custom AI agents.

Key features include:

  • Multi-provider model support with custom API configurations

  • Advanced prompt library and conversation management

  • Document upload capabilities for Retrieval-Augmented Generation (RAG)

  • Options for personal use, team collaboration, and self-hosting for privacy


Step 1: Access TypingMind

Navigate to https://www.typingmind.com/arrow-up-right and authenticate using your email address.


Step 2: Add a Custom Model

  1. Click the Models icon in the left sidebar, then select "Add custom model".

For this tutorial, we will configure OpenAI's GPT-5.2 model via RouterLink.


  1. Visit the RouterLink model page at OpenAI's GPT 5.2 modelarrow-up-right to access the integration details.

  2. In the Integration Guide section, locate the source code example and copy the model identifier.


Step 4: Configure Model Parameters

Enter the following configuration values in the TypingMind custom model form:

API Configuration Parameters

Parameter
Value

Model ID

world3-router-north-america/openai/gpt-5.2

API Endpoint

https://router-link.world3.ai/api/v1/chat/completions

Custom Headers Configuration

Expand the Advanced section to configure Custom Headers:

Key
Value

Authorization

Bearer <YOUR_API_KEY>

Content-Type

application/json

circle-info

For the Authorization header, replace <YOUR_API_KEY> with your actual RouterLink API key. Ensure there is exactly one space between Bearer and your API key. Example: If your API key is sk-1234abcd, enter Bearer sk-1234abcd

Validate Configuration

  1. Click the "Test" button to verify the connection is working correctly.

  2. Upon successful validation, the "Add Model" button will become active.

  1. After adding the model, set world3-router-north-america/openai/gpt-5.2 as your default model for convenience.


Step 5: Initiate a Conversation

  1. Click "Chats" in the top-left navigation area to access the conversation interface.

  1. Verify that the newly added model world3-router-north-america/openai/gpt-5.2 is selected in the model dropdown at the bottom of the interface.

  1. Enter your desired prompt to confirm the integration is functioning correctly.


Summary

You have successfully integrated RouterLink with TypingMind. You can now:

  • Send prompts to various AI models through RouterLink's decentralized routing network

  • Switch between different models available on the RouterLink platform

  • Leverage TypingMind's interface features while utilizing RouterLink's infrastructure

For advanced configuration options, model availability, and API documentation, visit the RouterLink Documentationarrow-up-right.


Troubleshooting

Issue
Solution

Authentication failed

Verify your API key is correctly formatted with Bearer prefix (including the space)

Model not responding

Confirm the model ID matches the exact format from the RouterLink documentation

Connection timeout

Check your network connectivity and ensure the API endpoint URL is correct

Test button fails

Verify all custom headers are properly configured (Authorization and Content-Type)

For additional support, please open a ticket on Discordarrow-up-right.

Last updated