Integrate Ask Cookbook with React applications
npm install @cookbookdev/docsbot
import AskCookbook from "@cookbookdev/docsbot"; export default function App() { return ( <> <AskCookbook apiKey="YOUR_API_KEY_HERE" /> {/* Your other components */} </> ); }
true
// app/layout.js or pages/_app.js import AskCookbook from "@cookbookdev/docsbot"; export default function RootLayout({ children }) { return ( <html lang="en"> <body> <AskCookbook apiKey="your-api-key-here" /> {children} </body> </html> ); }