From be2e03f89c3fb45e6b6f9807553fbfd5d2f274cb Mon Sep 17 00:00:00 2001 From: "linear-code[bot]" <222613912+linear-code[bot]@users.noreply.github.com> Date: Wed, 21 Oct 2026 15:41:53 +0000 Subject: [PATCH] docs: Show the `api` option for self-hosted users in the quick start Generated with [Linear](https://linear.app/flagsmith/agent-session/f3c7c3c0-19d3-4aca-91c5-377fdd175cda) Co-authored-by: linear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com> --- docs/docs/getting-started/quick-start.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/docs/getting-started/quick-start.md b/docs/docs/getting-started/quick-start.md index 60d0f755f120..05d99d5cbccb 100644 --- a/docs/docs/getting-started/quick-start.md +++ b/docs/docs/getting-started/quick-start.md @@ -86,13 +86,21 @@ Then paste your API key into the code below: ``` +If you are using the SaaS platform at [app.flagsmith.com](https://app.flagsmith.com/), you can leave the `api` option +commented out, as the SDK connects to Flagsmith's SaaS API by default. If you are self-hosting Flagsmith or using a +private cloud, uncomment it and replace the URL with your own Flagsmith API URL, including the `/api/v1/` suffix. + Now when the browser opens the web page, it will download the Javascript SDK and make a call to `edge.api.flagsmith.com` -to get the flags for our Environment. You can see this in the browser network tab: +(or your own API URL, if you set `api`) to get the flags for our Environment. You can see this in the browser network +tab:
@@ -106,6 +114,7 @@ Let's hook this value up to our button, so that the value of the flag controls w