Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

docs: add dotenv for .env loading, add title to include tag

Sushmitha Mallesha33f0a3ac9f0
diff --git a/docs/content/cookbooks/hono.mdx b/docs/content/cookbooks/hono.mdx
index da3e7b50d..df6ef1074 100644
--- a/docs/content/cookbooks/hono.mdx
+++ b/docs/content/cookbooks/hono.mdx
@@ -20,7 +20,7 @@ Create a new project and install dependencies:
```bash
mkdir composio-hono && cd composio-hono
npm init -y
-npm install hono @hono/node-server openai @composio/core @composio/openai tsx
+npm install hono @hono/node-server openai @composio/core @composio/openai tsx dotenv
```
Add your API keys to a `.env` file:
@@ -175,7 +175,7 @@ app.post("/connect/:toolkit", async (c) => {
Here's everything together:
-<include>../../examples/hono/server.ts</include>
+<include meta='title="server.ts"'>../../examples/hono/server.ts</include>
## Running the server
diff --git a/docs/examples/hono/server.ts b/docs/examples/hono/server.ts
index 640f9b815..345deb69c 100644
--- a/docs/examples/hono/server.ts
+++ b/docs/examples/hono/server.ts
@@ -1,3 +1,4 @@
+import "dotenv/config";
import { serve } from "@hono/node-server";
import { Hono } from "hono";
import { OpenAI } from "openai";