Fern (Public API) - How do I link my account?
Generate a Fern API key and connect it to Tenklo
Overview
To authenticate with the Fern Public API, you need:
- Docs URL - The domain of your Fern docs site (e.g.
docs.example.com) - Fern API key - Generated by running
fern tokenin your terminal
This guide walks you through generating your Fern API key and connecting it to Tenklo.
Prerequisites
- The Fern CLI installed (
npm install -g fern-api) - A Fern account logged in via
fern login
Instructions
Step 1: Generate your Fern API key
Run the following command in your terminal:
fern tokenThis outputs your FERN_API_KEY. Copy and store it securely — treat it like a password.
Step 2: Find your docs URL
Your docs URL is the hostname of your Fern docs site, for example docs.example.com.
Step 3: Enter credentials in the Connect UI
- Open the form where you need to authenticate with Fern (Public API).
- Enter your Docs URL and Fern API key in their respective fields.
- Submit the form, and you should be successfully authenticated.
You are now connected to Fern (Public API).