From b052c2e029eb325e2f0d31e99b1cab230779a626 Mon Sep 17 00:00:00 2001
From: Bandhan Majumder <133476557+bandhan-majumder@users.noreply.github.com>
Date: Thu, 4 Sep 2025 12:19:05 +0530
Subject: [PATCH] add: .env step (#23572)
---
.../guides/api/how-to-setup-api-in-a-local-instance.mdx | 3 +++
1 file changed, 3 insertions(+)
diff --git a/docs/developing/guides/api/how-to-setup-api-in-a-local-instance.mdx b/docs/developing/guides/api/how-to-setup-api-in-a-local-instance.mdx
index d19c7dbf11..1cf5d9762a 100644
--- a/docs/developing/guides/api/how-to-setup-api-in-a-local-instance.mdx
+++ b/docs/developing/guides/api/how-to-setup-api-in-a-local-instance.mdx
@@ -19,6 +19,9 @@ To test the API in your local instance, you have the following pre-requisites:
Start the cal.com server using `yarn dev` on localhost and create the test API keys by visiting `/settings/developer/api-keys`
+
+ Copy the `.env.example` file to `.env` file by running `cp apps/api/v1/.env.example apps/api/v1/.env`from root folder
+
Start the API server by running `yarn workspace @calcom/api dev` and start testing your API locally