Setup
Configure where Ask Fern is available and what content it can access.
Basic setup
Enable Ask Fern by adding the ai-search configuration to your docs.yml file:
docs.yml
Configuration
docs.yml
ai-search.location
Specifies where Ask Fern will be available. Options:
docsenables Ask Fern on your documentation siteslackenables Ask Fern in Slackdiscordenables Ask Fern in Discord
Most users should enable Ask Fern for both docs and either slack or discord.
ai-search.datasources
Additional content sources that Ask Fern should index and search.
datasources.url
The URL of the website to index. Ask Fern will crawl and index the content from this URL.
datasources.title
An optional display name for this datasource. This helps users understand where the information is coming from when Ask Fern cites content from this source.