Integrations
Add Inkeep's UI components to your Fern docs
Overview
Fern is a static site generator for developer-focused companies to build and host a beautiful, professional docs site.
To add Inkeep's search bar or "Ask AI" chat button to your Fern docs, you can use the @inkeep/cxkit-fern
package.
Get an API key
Follow these steps to create an API key for your web integration.
Load the script files
- Open the
docs.yml
file used to configure Fern. - Add the below scripts to the
docs.yml
file injs
step:
This links to a local script where we'll setup Inkeep for your project.
It should be a relative path to wherever you'd like to setup the script. E.g. ./assets/inkeep.js
Create the inkeep.js script
Create the ./inkeep.js
file.
Add a script to your repo
Create an inkeep.js
file at the root of your documentation GitHub repo like the example below.
Customize settings
with your API key and other customizations.