Skip to content

Commit a2a0e30

Browse files
ordehigewenyu99
authored andcommitted
docs: clarify remote config wording and add cross-link from Node SDK (#15342)
* docs: clarify remote config wording and add cross-link from Node SDK Clarify Step 2 heading on the remote config page to make it clear the secure API key is passed in options (not as the main constructor arg). Add a callout in the Node SDK feature flags section pointing to the remote config docs, so users who land on the Node SDK page can find the correct setup instructions. * Update contents/docs/libraries/node/index.mdx Co-authored-by: Vincent (Wen Yu) Ge <29069505+gewenyu99@users.noreply.github.com> --------- Co-authored-by: Vincent (Wen Yu) Ge <29069505+gewenyu99@users.noreply.github.com>
1 parent 1af4137 commit a2a0e30

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

contents/docs/feature-flags/remote-config.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import ObtainFeatureFlagsSecureAPIKey from "../integrate/_snippets/obtain-flags-
2020

2121
<ObtainFeatureFlagsSecureAPIKey />
2222

23-
## Step 2: Initialize PostHog with your feature flags secure API key
23+
## Step 2: Initialize PostHog with your feature flags secure API key in options
2424

2525
import ConfigureFlagsSecureKey from "../integrate/_snippets/configure-flags-secure-key.mdx"
2626

contents/docs/libraries/node/index.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,8 @@ import NodeFeatureFlagsCode from '../../integrate/feature-flags-code/_snippets/f
268268

269269
<NodeFeatureFlagsCode />
270270

271+
> **Note:** For remote config flags, see the [remote config documentation](/docs/feature-flags/remote-config). Remote config requires the [Feature Flags secure API key](/docs/feature-flags/remote-config#step-1-find-your-feature-flags-secure-api-key) passed as the `personalApiKey` option.
272+
271273
import LocalEvaluationIntro from "../../feature-flags/snippets/local-evaluation-intro.mdx"
272274

273275
### Local evaluation

0 commit comments

Comments
 (0)