Skip to content

mintlify/discovery-api-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7f7299d · Dec 6, 2024

History

4 Commits
Dec 6, 2024
Dec 6, 2024
Dec 6, 2024
Dec 6, 2024
Dec 6, 2024
Dec 6, 2024
Dec 6, 2024
Dec 6, 2024
Dec 6, 2024
Dec 6, 2024
Dec 6, 2024
Dec 6, 2024
Dec 6, 2024

Repository files navigation

This is an example of using Mintlify's Discovery API to embed AI chat with your docs as a knowledge source into a Next.js application.

An example of this with the Mintlify docs is live at chat.mintlify.com.

Getting Started

First, generate a discovery API key in the Mintlify Dashboard. This application uses a NEXT_PUBLIC environment variable to load the key.

To run it locally, you'll need to do something like EXPORT NEXT_PUBLIC_DISCOVERY_API_KEY=<your api key>.

Then, you can run the development server:

yarn dev

Open http://localhost:3000 with your browser to see the result.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published