This is page 3 of 5. Use http://codebase.md/bucketco/docs/_media/.gitbook/assets/Set%20segment%20conditions-min.png?format=md&page={x} to view the full context.

# Directory Structure

```
├── .gitbook
│   ├── assets
│   │   ├── 03642c5-dwFrame_201 (1).png
│   │   ├── 03642c5-dwFrame_201.png
│   │   ├── 1753259671871 (1).jpeg
│   │   ├── 1a0b50d-image.png
│   │   ├── 1a439d9-image.png
│   │   ├── 2506596-Customized_Widgets.png
│   │   ├── 342658e-image.png
│   │   ├── 4017197-image.png
│   │   ├── 43e55f0-image.png
│   │   ├── 4783e3f-image.png
│   │   ├── 5b0ce63-image (1).png
│   │   ├── 5b0ce63-image.png
│   │   ├── 630b5e9-image.png
│   │   ├── 8bf8a6e-Frame_201.png
│   │   ├── 9efd67c-image.png
│   │   ├── aa37226-image.png
│   │   ├── Access (1) (1).png
│   │   ├── Access (1).png
│   │   ├── Access (2).png
│   │   ├── Access.png
│   │   ├── Adding features to a feature view-min.png
│   │   ├── Adopted-min.png
│   │   ├── Adoption strategy V2-min.png
│   │   ├── Adoption strategy-min.png
│   │   ├── Advanced targeting rules V2-min.png
│   │   ├── Advanced targeting rules v3-min.png
│   │   ├── Advanced targeting rules-min.png
│   │   ├── aecc6f2-image.png
│   │   ├── amplitude.svg
│   │   ├── An example targeting configuration with two rules.-min.png
│   │   ├── api.svg
│   │   ├── App Settings-min.png
│   │   ├── Automated feedback surveys settings v3-min.png
│   │   ├── Automated feedback surveys settings-min.png
│   │   ├── Automated feedback surveys-min.png
│   │   ├── aws-s3.svg
│   │   ├── be124cd-dwdwFrame_201 (1).png
│   │   ├── be124cd-dwdwFrame_201.png
│   │   ├── ccc4f9e-image.png
│   │   ├── CleanShot 2024-06-11 at 8 .25.53@2x.png
│   │   ├── CleanShot 2024-11-22 at 8 .29.42@2x.png
│   │   ├── CleanShot 2024-11-22 at 8 .31.17@2x.png
│   │   ├── CleanShot 2024-11-25 at 9 .28.08@2x.png
│   │   ├── CleanShot 2024-11-25 at 9 .33.10@2x.png
│   │   ├── CleanShot 2024-11-25 at 9 .35.11@2x.png
│   │   ├── CleanShot 2024-11-27 at 10 .45.59@2x.png
│   │   ├── CleanShot 2024-11-27 at 10 .46.36@2x.png
│   │   ├── CleanShot 2024-11-27 at 10 .47.14@2x.png
│   │   ├── CleanShot 2024-11-27 at 10 .50.48@2x.png
│   │   ├── CleanShot 2025-01-07 at 1 .19.36@2x.png
│   │   ├── CleanShot 2025-01-07 at 1 .21.09@2x.png
│   │   ├── CleanShot 2025-01-07 at 1 .22.27@2x.png
│   │   ├── CleanShot 2025-01-07 at 12 .34.32@2x.png
│   │   ├── CleanShot 2025-01-07 at 12 .39.12@2x (1).png
│   │   ├── CleanShot 2025-01-07 at 12 .39.12@2x.png
│   │   ├── CleanShot 2025-01-09 at 10 .56.14@2x.png
│   │   ├── CleanShot 2025-01-09 at 11 .11.54@2x (1).png
│   │   ├── CleanShot 2025-01-09 at 11 .11.54@2x.png
│   │   ├── CleanShot 2025-01-09 at 9 .44.28@2x.png
│   │   ├── CleanShot 2025-01-23 at 1 .48.30@2x.png
│   │   ├── CleanShot 2025-01-23 at 1 .49.29@2x.png
│   │   ├── CleanShot 2025-01-23 at 1 .49.55@2x.png
│   │   ├── CleanShot 2025-01-23 at 2 .10.23@2x.png
│   │   ├── CleanShot 2025-05-09 at 1 .29.05@2x.png
│   │   ├── CleanShot 2025-10-09 at 10 .23.21@2x.png
│   │   ├── Companies Tab-min.png
│   │   ├── Companies-min.png
│   │   ├── company example v2-min (1).png
│   │   ├── company example v2-min.png
│   │   ├── company example v3-min.png
│   │   ├── Company segment filters-min.png
│   │   ├── Create a new environment-min.png
│   │   ├── Creating and managing apps-min.png
│   │   ├── cursor-mcp-demo_h264.mp4
│   │   ├── datadog.svg
│   │   ├── Debugger-min (1).png
│   │   ├── Debugger-min (2).png
│   │   ├── Debugger-min.png
│   │   ├── Enabling Feedback Surveys-min.png
│   │   ├── Environments Page V2-min.png
│   │   ├── Environments Switcher-min.png
│   │   ├── Environments-min.png
│   │   ├── Evaluate Feature.png
│   │   ├── example 1 (1).png
│   │   ├── example 1.png
│   │   ├── example 2 (1).png
│   │   ├── example 2.png
│   │   ├── ezgif-242d06617aea38.gif
│   │   ├── Feature Tab-min.png
│   │   ├── Feature targeting rules example v2-min.png
│   │   ├── Feature targeting rules example V2-min.png
│   │   ├── Feature targeting rules example v3-min.png
│   │   ├── Feature targeting rules example-min.png
│   │   ├── Feature targeting rules UI V2-min.png
│   │   ├── Feature targeting rules UI v3-min.png
│   │   ├── Feature targeting rules UI-min.png
│   │   ├── Feature usage configuration-v2-min.png
│   │   ├── Feature view.png
│   │   ├── feature-flag-list-rum-event.d9c1c876a34458edc70d1317efaec05b.png.avif
│   │   ├── Feature-targeting-rules-v2-min.png
│   │   ├── Features Page V2-min (1).png
│   │   ├── Features Page V2-min.png
│   │   ├── Features Page-min.png
│   │   ├── Features-min.png
│   │   ├── Feedback Tab V2-min.png
│   │   ├── Feedback-min.png
│   │   ├── Getting started-min.png
│   │   ├── gitbook-logo.svg
│   │   ├── github-logo.svg
│   │   ├── Global settings - Feature views-min.png
│   │   ├── Global settings - Manual Targeting-min.png
│   │   ├── Global settings - Release Stages Editing V4-min.png
│   │   ├── Global settings - Release Stages-min.png
│   │   ├── Goal Form.png
│   │   ├── How to use release stages v2-min.png
│   │   ├── How to use release stages-min (1).png
│   │   ├── How to use release stages-min.png
│   │   ├── https___content.gitbook.com_content_pgXAy2Cgsm5pON9oJ06m_blobs_6wGbrQlJPE4JllBuIhla_image (1).png
│   │   ├── image (1) (1).png
│   │   ├── image (1) (2).png
│   │   ├── image (1).png
│   │   ├── image (10).png
│   │   ├── image (11).png
│   │   ├── image (12).png
│   │   ├── image (13).png
│   │   ├── image (14).png
│   │   ├── image (15).png
│   │   ├── image (16).png
│   │   ├── image (17).png
│   │   ├── image (18).png
│   │   ├── image (19).png
│   │   ├── image (2) (1).png
│   │   ├── image (2).png
│   │   ├── image (20).png
│   │   ├── image (21).png
│   │   ├── image (22).png
│   │   ├── image (23).png
│   │   ├── image (24).png
│   │   ├── image (25).png
│   │   ├── image (26).png
│   │   ├── image (27).png
│   │   ├── image (28).png
│   │   ├── image (29).png
│   │   ├── image (3).png
│   │   ├── image (30).png
│   │   ├── image (31).png
│   │   ├── image (32).png
│   │   ├── image (33).png
│   │   ├── image (4).png
│   │   ├── image (5).png
│   │   ├── image (6).png
│   │   ├── image (7).png
│   │   ├── image (8).png
│   │   ├── image (9).png
│   │   ├── image.png
│   │   ├── Iterate Feature V2.png
│   │   ├── LInear mention.mp4
│   │   ├── linear.svg
│   │   ├── mcp-remote-min.mp4
│   │   ├── mcp-remote.mp4
│   │   ├── mixpanel.svg
│   │   ├── Modifying or deleting an app-min.png
│   │   ├── Monitor (1) (1).png
│   │   ├── Monitor (1).png
│   │   ├── Monitor (2).png
│   │   ├── Monitor (3).png
│   │   ├── Monitor (4).png
│   │   ├── Monitor (5).png
│   │   ├── Monitor (6).png
│   │   ├── Monitor (7).png
│   │   ├── Monitor.png
│   │   ├── New feature.png
│   │   ├── next-js.svg
│   │   ├── node-js.svg
│   │   ├── openfeature.svg
│   │   ├── posthog.svg
│   │   ├── Pre-Release.png
│   │   ├── react.svg
│   │   ├── Release Goals.png
│   │   ├── Release Stage Beta Targeting Rules v3-min.png
│   │   ├── Release Stage Beta Targeting Rules V3-min.png
│   │   ├── Release Stage Beta Targeting Rules V5-min.png
│   │   ├── Release Stage Beta Targeting Rules-min.png
│   │   ├── remote config - 3.png
│   │   ├── Remote config.png
│   │   ├── Rolling back flags-V2.png
│   │   ├── Rules in other environments.png
│   │   ├── rum-explorer-error-feature-flag-search.7b9f6c046db1de1c71d279c139f1508a.png.avif
│   │   ├── rum-explorer-session-feature-flag-search.435802460fd607608ad5155f029da57b.png.avif
│   │   ├── Satisfaction feedback-min.png
│   │   ├── Satisified-min.png
│   │   ├── Save the segment-min.png
│   │   ├── Saving New Segment-min.png
│   │   ├── Screenshot 2024-08-14 at 19.25.06 (1).png
│   │   ├── Screenshot 2024-08-14 at 19.25.06.png
│   │   ├── Screenshot 2024-08-15 at 13.57.46.png
│   │   ├── Screenshot 2024-10-10 at 14.04.09.png
│   │   ├── Screenshot 2024-10-10 at 14.04.34.png
│   │   ├── Screenshot 2025-07-10 at 14.04.07.png
│   │   ├── Screenshot 2025-07-10 at 14.11.01.png
│   │   ├── Screenshot 2025-07-10 at 14.29.20.png
│   │   ├── Screenshot 2025-07-15 at 21.31.16.png
│   │   ├── Screenshot 2025-07-21 at 20.07.27.png
│   │   ├── Screenshot 2025-09-02 at 17.08.25.png
│   │   ├── Screenshot 2025-09-02 at 17.10.36 (1).png
│   │   ├── Screenshot 2025-09-02 at 17.10.36 (2).png
│   │   ├── Screenshot 2025-09-02 at 17.10.36.png
│   │   ├── Screenshot 2025-09-02 at 17.11.21 (1).png
│   │   ├── Screenshot 2025-09-02 at 17.11.21.png
│   │   ├── Screenshot 2025-09-02 at 17.13.15 (1).png
│   │   ├── Screenshot 2025-09-02 at 17.13.15.png
│   │   ├── Screenshot 2025-09-02 at 17.19.44 (1).png
│   │   ├── Screenshot 2025-09-02 at 17.19.44.png
│   │   ├── Screenshot 2025-09-09 at 09.32.31.png
│   │   ├── Screenshot 2025-09-12 at 11.50.41.png
│   │   ├── Screenshot 2025-09-12 at 12.30.38.png
│   │   ├── Screenshot 2025-09-12 at 13.14.44.png
│   │   ├── Screenshot 2025-09-12 at 13.18.07.png
│   │   ├── Screenshot 2025-09-12 at 13.21.25.png
│   │   ├── Screenshot 2025-09-12 at 13.25.21.png
│   │   ├── Screenshot 2025-09-12 at 14.29.56.png
│   │   ├── Screenshot 2025-09-12 at 14.37.52.png
│   │   ├── Screenshot 2025-09-12 at 14.58.27.png
│   │   ├── Screenshot 2025-09-12 at 15.00.32.png
│   │   ├── Screenshot 2025-09-12 at 15.01.32.png
│   │   ├── Screenshot 2025-09-12 at 15.03.33.png
│   │   ├── Screenshot 2025-09-12 at 15.04.39.png
│   │   ├── Screenshot 2025-09-12 at 15.06.50.png
│   │   ├── Screenshot 2025-09-12 at 15.13.45.png
│   │   ├── Screenshot 2025-09-12 at 15.14.43.png
│   │   ├── Screenshot 2025-09-12 at 15.16.42.png
│   │   ├── Screenshot 2025-09-12 at 15.18.42.png
│   │   ├── Screenshot 2025-09-12 at 15.32.39.png
│   │   ├── Screenshot 2025-09-12 at 15.33.57.png
│   │   ├── Screenshot 2025-09-12 at 15.35.09.png
│   │   ├── Screenshot 2025-09-12 at 15.36.14.png
│   │   ├── segment (1).svg
│   │   ├── segment.svg
│   │   ├── Segments.png
│   │   ├── Set segment conditions-min.png
│   │   ├── Setting multiple targeting rules.png
│   │   ├── Setting Tab-min.png
│   │   ├── Setting targeting rules v3-min.png
│   │   ├── Setting targeting rules-min.png
│   │   ├── Settings-min (1).png
│   │   ├── Settings-min.png
│   │   ├── slack (1).svg
│   │   ├── Slack (with auto-layout)-min.png
│   │   ├── Slack and Environments-min.png
│   │   ├── Slack and Feature views-min.png
│   │   ├── Slack Integration.png
│   │   ├── Slack Settings under Features-min.png
│   │   ├── Slack with User Feedback.png
│   │   ├── slack.svg
│   │   ├── slackConnected (1).png
│   │   ├── slackConnected.png
│   │   ├── slackDisconnected (1).png
│   │   ├── slackDisconnected.png
│   │   ├── STARS Configuration-min.png
│   │   ├── STARS Feature Funnel-min.png
│   │   ├── STARS Feature Report-min.png
│   │   ├── STARS states.png
│   │   ├── surveys-min.png
│   │   ├── Switching Between Environments-min.png
│   │   ├── Targeting rules interface-min.png
│   │   ├── Targeting rules.png
│   │   ├── There are 5 different types of conditions to chose from-min.png
│   │   ├── Track adoption in the UI V2-min.png
│   │   ├── Track adoption in the UI v3-min.png
│   │   ├── Track adoption in the UI-min.png
│   │   ├── Track new feature V2-min.png
│   │   ├── Tracking Tab-min.png
│   │   ├── ts-js.svg
│   │   ├── type-check-failed.png
│   │   ├── type-check-payload-failed.png
│   │   ├── usage attribute example v3.png
│   │   ├── usage attribute example-min.png
│   │   ├── Usage configuration-min.png
│   │   ├── vercel-logo.svg
│   │   ├── vue-logo.svg
│   │   ├── What is the STARS Framework v3-min.png
│   │   └── What is the STARS Framework_-min.png
│   └── includes
│       ├── integrations.md
│       ├── languages.md
│       ├── need-some-help-chat-with-us.md
│       ├── sdks.md
│       └── untitled.md
├── .github
│   └── README.md
├── .vscode
│   └── settings.json
├── api
│   ├── api-access.md
│   ├── cli.md
│   ├── mcp.md
│   ├── public-api
│   │   ├── public-api-reference.md
│   │   └── README.md
│   └── reflag-rest-api
│       ├── README.md
│       └── reflag-api-reference.md
├── guides
│   ├── self-opt-in.md
│   └── use-reflag-in-your-cli.md
├── integrations
│   ├── amplitude.md
│   ├── aws-s3.md
│   ├── cursor.md
│   ├── datadog.md
│   ├── github.md
│   ├── linear.md
│   ├── mixpanel.md
│   ├── overview.md
│   ├── posthog.md
│   ├── segment.md
│   └── slack.md
├── introduction
│   └── concepts
│       ├── app.md
│       ├── company.md
│       ├── environment.md
│       ├── event.md
│       ├── feature-events.md
│       ├── feature-view.md
│       ├── feature.md
│       ├── feedback.md
│       ├── filter.md
│       ├── README.md
│       ├── release-stage.md
│       ├── segment.md
│       ├── targeting-rules.md
│       └── user.md
├── product-handbook
│   ├── anonymous-users.md
│   ├── concepts
│   │   ├── app.md
│   │   ├── company.md
│   │   ├── environment.md
│   │   ├── event.md
│   │   ├── feature-events.md
│   │   ├── feature-view.md
│   │   ├── feature.md
│   │   ├── feedback.md
│   │   ├── filter.md
│   │   ├── README.md
│   │   ├── release-stage.md
│   │   ├── segment.md
│   │   ├── targeting-rules.md
│   │   └── user.md
│   ├── creating-and-managing-apps
│   │   ├── environments.md
│   │   └── README.md
│   ├── creating-and-managing-apps.md
│   ├── creating-segments.md
│   ├── data-export.md
│   ├── data-residency.md
│   ├── feature-clean-up-and-archival-beta
│   │   ├── ai-code-clean-up-beta.md
│   │   └── README.md
│   ├── feature-entitlements
│   │   ├── README.md
│   │   └── simple-role-based-entitlements.md
│   ├── feature-rollouts
│   │   ├── feature-targeting-rules.md
│   │   └── README.md
│   ├── feature-targeting-rules
│   │   ├── creating-segments.md
│   │   └── environments.md
│   ├── feature-views.md
│   ├── launch-monitor
│   │   ├── automated-feedback-surveys.md
│   │   ├── give-feedback-button.md
│   │   └── README.md
│   ├── product-overview.md
│   ├── remote-config.md
│   ├── self-opt-in.md
│   ├── service-resiliency.md
│   ├── team-permissions.md
│   └── type-safety.md
├── README.md
├── sdk
│   ├── _media
│   │   ├── type-check-failed.png
│   │   └── type-check-payload-failed.png
│   ├── @reflag
│   │   ├── browser-sdk
│   │   │   ├── globals.md
│   │   │   └── README.md
│   │   ├── node-sdk
│   │   │   ├── globals.md
│   │   │   └── README.md
│   │   ├── react-sdk
│   │   │   ├── globals.md
│   │   │   └── README.md
│   │   └── vue-sdk
│   │       ├── globals.md
│   │       └── README.md
│   ├── documents
│   │   ├── browser-sdk
│   │   │   └── FEEDBACK.md
│   │   └── cli
│   │       └── README.md
│   └── README.md
├── SUMMARY.md
├── support
│   └── get-support.md
└── supported-languages
    ├── next.js.md
    ├── openfeature.md
    ├── overview.md
    └── ruby-rails-stimulus.md
```

# Files

--------------------------------------------------------------------------------
/.gitbook/assets/linear.svg:
--------------------------------------------------------------------------------

```
<svg width="512" height="290" viewBox="0 0 512 290" fill="none" xmlns="http://www.w3.org/2000/svg">
<style>
@media (prefers-color-scheme: dark) {
    path { fill: white; }
}
</style>
<path fill-rule="evenodd" clip-rule="evenodd" d="M80.8993 112.918C80.4048 113.472 80.4376 114.322 80.9571 114.851L145.162 180.291C145.681 180.82 146.515 180.854 147.058 180.35C156.473 171.618 162.382 159.03 162.382 145.035C162.382 118.672 141.414 97.3 115.548 97.3C101.817 97.3 89.4658 103.323 80.8993 112.918ZM72.8747 125.337C72.6375 125.871 72.7571 126.496 73.1633 126.91L133.331 188.234C133.737 188.648 134.35 188.77 134.873 188.529C136.263 187.886 137.617 187.176 138.93 186.403C139.711 185.944 139.831 184.858 139.193 184.209L77.1131 120.935C76.4757 120.285 75.4105 120.407 74.9598 121.202C74.2016 122.541 73.5052 123.921 72.8747 125.337ZM69.2246 142.897C68.9428 142.61 68.793 142.215 68.8195 141.809C68.9437 139.912 69.1767 138.045 69.5122 136.214C69.7134 135.117 71.0292 134.736 71.8038 135.525L124.878 189.62C125.653 190.41 125.279 191.751 124.202 191.956C122.406 192.298 120.574 192.535 118.712 192.662C118.315 192.689 117.927 192.536 117.645 192.249L69.2246 142.897ZM72.4816 156.218C71.5146 155.232 69.9541 156.082 70.3083 157.428C74.6229 173.83 87.2957 186.747 103.388 191.144C104.709 191.505 105.543 189.915 104.576 188.929L72.4816 156.218ZM257.499 123.568C260.857 123.568 263.578 120.785 263.578 117.351C263.578 113.917 260.857 111.133 257.499 111.133C254.143 111.133 251.422 113.917 251.422 117.351C251.422 120.785 254.143 123.568 257.499 123.568ZM205.438 177.793V111.137H216.24V168.041H245.363V177.793H205.438ZM282.318 150.594V177.793H271.866V130.552H282.186V138.649L282.318 138.56C283.367 136.025 285.058 133.907 287.391 132.207C289.722 130.478 292.696 129.613 296.312 129.613C299.518 129.613 302.433 130.343 305.058 131.805C307.681 133.236 309.78 135.339 311.354 138.112C312.928 140.886 313.716 144.286 313.716 148.312V177.793H303.264V149.789C303.264 146.21 302.331 143.496 300.466 141.647C298.629 139.768 296.166 138.828 293.075 138.828C291.093 138.828 289.285 139.246 287.653 140.081C286.02 140.916 284.723 142.198 283.761 143.928C282.799 145.658 282.318 147.88 282.318 150.594ZM376.952 176.988C379.342 178.032 382.083 178.554 385.173 178.554C387.709 178.554 389.881 178.226 391.688 177.57C393.497 176.884 394.983 175.974 396.149 174.841C397.344 173.707 398.292 172.47 398.992 171.128H399.167V177.793H409.181V145.27C409.181 142.974 408.743 140.871 407.869 138.963C406.995 137.054 405.726 135.399 404.064 133.997C402.432 132.595 400.449 131.521 398.117 130.776C395.785 130 393.161 129.613 390.246 129.613C386.252 129.613 382.797 130.314 379.881 131.715C376.995 133.087 374.736 134.936 373.103 137.263C371.471 139.589 370.581 142.213 370.435 145.136H380.538C380.654 143.764 381.121 142.541 381.937 141.468C382.753 140.394 383.861 139.559 385.261 138.963C386.66 138.336 388.277 138.023 390.115 138.023C391.951 138.023 393.511 138.336 394.794 138.963C396.105 139.589 397.111 140.439 397.811 141.512C398.511 142.586 398.861 143.839 398.861 145.27V145.628C398.861 146.702 398.496 147.492 397.768 147.999C397.067 148.506 395.872 148.879 394.182 149.118C392.519 149.356 390.246 149.639 387.359 149.968C384.998 150.236 382.724 150.639 380.538 151.175C378.351 151.712 376.398 152.503 374.677 153.546C372.987 154.59 371.646 155.977 370.654 157.707C369.663 159.437 369.168 161.659 369.168 164.372C369.168 167.504 369.867 170.129 371.267 172.246C372.666 174.334 374.561 175.914 376.952 176.988ZM393.876 169.07C392.184 169.994 390.1 170.457 387.622 170.457C385.115 170.457 383.117 169.92 381.631 168.846C380.144 167.743 379.4 166.237 379.4 164.328C379.4 162.837 379.808 161.629 380.625 160.704C381.471 159.78 382.578 159.049 383.948 158.512C385.319 157.975 386.805 157.603 388.408 157.394C389.575 157.215 390.712 157.036 391.82 156.857C392.927 156.648 393.963 156.454 394.925 156.275C395.887 156.067 396.703 155.858 397.373 155.649C398.074 155.44 398.584 155.217 398.904 154.978V160.257C398.904 162.106 398.482 163.806 397.636 165.357C396.819 166.878 395.566 168.115 393.876 169.07ZM418.3 177.793V130.552H428.357V138.336H428.489C429.334 135.652 430.66 133.609 432.468 132.207C434.304 130.776 436.71 130.06 439.683 130.06C440.413 130.06 441.069 130.09 441.651 130.15C442.264 130.179 442.774 130.209 443.182 130.239V139.857C442.803 139.798 442.132 139.723 441.171 139.634C440.209 139.544 439.188 139.499 438.109 139.499C436.389 139.499 434.815 139.902 433.386 140.707C431.958 141.512 430.82 142.75 429.975 144.42C429.159 146.061 428.751 148.133 428.751 150.639V177.793H418.3ZM252.252 177.793V130.552H262.704V177.793H252.252ZM331.099 175.691C334.452 177.808 338.432 178.867 343.038 178.867C346.595 178.867 349.83 178.211 352.746 176.899C355.691 175.557 358.139 173.722 360.093 171.396C362.046 169.04 363.314 166.326 363.897 163.254H354.058C353.62 164.656 352.906 165.894 351.915 166.967C350.953 168.011 349.743 168.831 348.286 169.428C346.828 170.024 345.137 170.322 343.213 170.322C340.618 170.322 338.388 169.726 336.522 168.533C334.686 167.34 333.286 165.685 332.324 163.567C331.451 161.618 330.974 159.411 330.893 156.946H364.51V154.083C364.51 150.445 363.984 147.134 362.935 144.152C361.886 141.14 360.399 138.545 358.474 136.368C356.551 134.161 354.233 132.461 351.522 131.268C348.839 130.075 345.851 129.479 342.557 129.479C338.272 129.479 334.482 130.537 331.187 132.655C327.892 134.772 325.313 137.695 323.446 141.423C321.581 145.151 320.648 149.416 320.648 154.217C320.648 158.989 321.552 163.239 323.359 166.967C325.167 170.665 327.747 173.573 331.099 175.691ZM353.096 144.42C352.134 142.392 350.763 140.827 348.985 139.723C347.207 138.62 345.108 138.068 342.688 138.068C340.297 138.068 338.213 138.62 336.434 139.723C334.686 140.827 333.315 142.392 332.324 144.42C331.617 145.889 331.169 147.559 330.982 149.431H354.437C354.25 147.559 353.803 145.889 353.096 144.42Z" fill="#222326"/>
</svg>

```

--------------------------------------------------------------------------------
/.gitbook/assets/vue-logo.svg:
--------------------------------------------------------------------------------

```
<svg width="512" height="289" viewBox="0 0 512 289" fill="none" xmlns="http://www.w3.org/2000/svg">
<style>
@media (prefers-color-scheme: dark) {
    path { fill: white; stroke: white; }
}
</style>
<g clip-path="url(#clip0_1066_1580)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M214 94.5996H230.7L173 194L115 94.5996H136L173 159.699L214 94.5996Z" fill="black"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M187.664 95.9648H211L173 155.699L139 95.9648H161.064L174.364 119.065L187.664 95.9648Z" fill="black" stroke="black" stroke-width="2" stroke-miterlimit="10"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M244.398 114.199C244.398 113.499 244.798 112.899 245.598 112.399C246.398 111.899 247.298 111.699 248.198 111.699C249.398 111.699 250.198 112.199 250.498 113.099L263.498 156.699L276.498 113.099C276.798 112.199 277.598 111.699 278.698 111.699C279.598 111.699 280.498 111.999 281.298 112.499C282.098 112.999 282.498 113.599 282.498 114.299C282.498 114.299 282.498 114.399 282.498 114.499C282.498 114.599 282.498 114.699 282.498 114.799L267.498 163.599C266.998 164.999 265.598 165.699 263.598 165.699C261.498 165.699 260.298 164.999 259.798 163.599L244.598 114.799C244.398 114.499 244.398 114.299 244.398 114.199ZM283.098 151.799V132.699C283.098 132.099 283.398 131.599 283.998 131.199C284.598 130.799 285.298 130.499 286.198 130.499C286.998 130.499 287.698 130.699 288.298 131.199C288.898 131.699 289.198 132.199 289.198 132.699V151.799C289.198 153.999 289.998 155.999 291.698 157.699C293.398 159.399 295.398 160.299 297.698 160.299C299.998 160.299 301.898 159.399 303.598 157.699C305.298 155.999 306.098 153.999 306.098 151.699V132.599C306.098 132.099 306.398 131.599 306.998 131.099C307.598 130.699 308.298 130.399 309.198 130.399C310.098 130.399 310.798 130.599 311.398 130.999C311.998 131.399 312.298 131.899 312.298 132.499V151.599C312.298 155.399 310.898 158.699 307.998 161.499C305.098 164.299 301.698 165.699 297.698 165.699C293.698 165.699 290.298 164.299 287.398 161.499C284.498 158.799 283.098 155.499 283.098 151.799ZM317.298 151.599V143.899C317.298 140.099 318.698 136.899 321.598 134.099C324.498 131.399 327.998 129.999 331.998 129.999C335.798 129.999 339.198 131.299 341.998 133.799C344.798 136.399 346.198 139.599 346.198 143.399C346.198 144.799 345.998 145.999 345.698 146.799C345.398 147.699 344.798 148.299 344.098 148.599C343.398 148.999 342.698 149.199 342.098 149.299C341.498 149.399 340.698 149.399 339.598 149.399H323.398V151.599C323.398 154.299 324.398 156.399 326.298 158.099C328.198 159.699 330.798 160.499 333.898 160.499C335.498 160.499 336.898 160.299 338.198 159.799C339.398 159.299 340.398 158.799 341.098 158.399C341.798 157.899 342.398 157.699 342.898 157.699C343.598 157.699 344.198 157.999 344.698 158.599C345.198 159.199 345.398 159.799 345.398 160.499C345.398 161.599 344.298 162.799 341.998 163.899C339.798 165.099 336.998 165.699 333.698 165.699C328.898 165.699 324.898 164.399 321.898 161.799C318.798 159.299 317.298 155.899 317.298 151.599ZM323.498 145.499H337.198C338.498 145.499 339.298 145.299 339.798 144.999C340.198 144.699 340.498 144.099 340.498 143.099C340.498 140.899 339.698 138.999 338.098 137.299C336.498 135.599 334.498 134.799 332.098 134.799C329.798 134.799 327.798 135.599 326.098 137.099C324.398 138.599 323.598 140.499 323.598 142.799L323.498 145.499ZM349.398 161.899C349.398 160.799 349.798 159.899 350.498 159.199C351.198 158.399 352.198 158.099 353.198 158.099C354.198 158.099 355.098 158.499 355.898 159.199C356.598 159.999 356.998 160.899 356.998 161.899C356.998 162.899 356.598 163.799 355.898 164.599C355.198 165.399 354.298 165.699 353.198 165.699C352.098 165.699 351.198 165.299 350.498 164.599C349.698 163.799 349.398 162.899 349.398 161.899ZM354.798 179.399C354.798 178.599 354.998 177.999 355.498 177.499C355.998 176.999 356.598 176.699 357.298 176.699C359.198 176.699 360.498 175.999 361.098 174.599C361.698 173.199 361.998 171.099 361.998 168.199V132.599C361.998 131.999 362.298 131.499 362.898 131.099C363.498 130.699 364.198 130.499 365.098 130.499C365.998 130.499 366.698 130.699 367.298 131.099C367.898 131.499 368.198 131.999 368.198 132.599V168.199C368.198 172.499 367.398 175.799 365.698 178.299C363.998 180.799 361.498 181.999 358.098 181.999C355.898 181.999 354.798 181.199 354.798 179.399ZM361.198 117.399C361.198 116.499 361.598 115.699 362.298 114.999C362.998 114.299 363.998 113.999 364.998 113.999C365.998 113.999 366.898 114.299 367.698 114.999C368.398 115.699 368.798 116.499 368.798 117.399C368.798 118.299 368.398 119.099 367.698 119.899C366.998 120.599 366.098 120.999 364.998 120.999C363.898 120.999 363.098 120.599 362.298 119.899C361.598 119.199 361.198 118.399 361.198 117.399ZM372.698 160.299C372.698 159.699 372.898 158.999 373.298 158.399C373.698 157.799 374.198 157.499 374.798 157.499C375.198 157.499 375.798 157.799 376.498 158.399C377.198 158.999 378.298 159.599 379.698 160.099C381.098 160.699 382.698 160.899 384.598 160.899C387.098 160.899 388.898 160.499 389.998 159.599C391.098 158.699 391.698 157.599 391.698 156.299C391.698 154.699 391.098 153.399 389.798 152.499C388.598 151.499 387.098 150.799 385.298 150.299C383.498 149.799 381.698 149.299 379.998 148.699C378.198 148.099 376.698 147.099 375.498 145.799C374.298 144.399 373.598 142.599 373.598 140.399C373.598 137.599 374.598 135.199 376.598 133.199C378.598 131.199 381.598 130.199 385.698 130.199C388.298 130.199 390.698 130.599 392.898 131.399C395.098 132.199 396.198 133.099 396.198 134.099C396.198 134.699 395.998 135.299 395.498 136.099C394.998 136.799 394.498 137.199 393.798 137.199C393.598 137.199 392.698 136.799 390.998 136.099C389.298 135.399 387.598 134.999 385.898 134.999C383.598 134.999 381.898 135.499 380.798 136.599C379.698 137.699 379.098 138.799 379.098 140.199C379.098 141.599 379.698 142.599 380.998 143.399C382.198 144.199 383.798 144.799 385.598 145.199C387.398 145.599 389.198 146.199 390.998 146.799C392.798 147.399 394.298 148.499 395.498 150.099C396.698 151.599 397.398 153.599 397.398 156.099C397.398 159.099 396.298 161.499 394.098 163.299C391.898 165.099 388.898 165.899 384.998 165.899C381.598 165.899 378.798 165.299 376.398 164.099C373.898 162.799 372.698 161.599 372.698 160.299Z" fill="black"/>
</g>
<defs>
<clipPath id="clip0_1066_1580">
<rect width="282" height="99" fill="black" transform="translate(115 95)"/>
</clipPath>
</defs>
</svg>

```

--------------------------------------------------------------------------------
/product-handbook/feature-rollouts/feature-targeting-rules.md:
--------------------------------------------------------------------------------

```markdown
---
description: Learn more about access rules in Reflag
---

# Access rules

## What are access rules?

Feature access lets you conditionally enable features for a company or a user.

Using conditions based on company and user attributes, you can target specific groups of users and conditionally enable a feature for them.

By using rollout percentages you can roll the feature out to only a certain percentage of companies in the group.

You'll find the feature access configuration under the `Access` tab in each feature.

## Getting started <a href="#get-started" id="get-started"></a>

* Create your [feature](https://app.reflag.com/)
* Select the `Access` tab

## Access rules

Reflag's access UI has been designed to cover the most common use cases in B2B companies.

The default access criteria are:

* Company segments
* Companies
* Users

The default access criteria let you add segments, companies, and users without additional configuration.

<figure><img src="../../.gitbook/assets/Access.png" alt=""><figcaption></figcaption></figure>

## Advanced access rules

You can also create advanced access rules with the "+ Add Rule" button.

Advanced rules let you specify rollout percentages and create access rules using company attributes, user attributes, feature access, or other contexts.

### Conditions

Each access rule has a set of conditions. You can create as many rules with as many conditions as you’d like.

There are 5 types of conditions:

* `Company attribute`
  * `Company ID`
  * `Company name`
  * `Any user-defined custom attributes`
* `User attribute`
  * `User ID`
  * `Email`
  * `Any user-defined custom attributes`
* `Segment`
  * Existing segments created in the [Companies](../creating-segments.md) tab that don’t use `First seen`, `Last seen`, or `Feature metrics` filters.
  * You can include or exclude companies that are part of a segment.
* `Feature access`
  * Re-use access rules from another feature. You can choose to include or exclude companies that have access to another feature.
* `Other context`
  * Set access rules based on custom data that does not belong to a company or user but rather a specific situation that a company or user is in, like an `eventID`.
  * Example:
    * You can supply `eventID` in the other context. Then, you create a context rule that only enables a feature when your users are in the context of a specific event with the given event ID.

### Examples

Here are examples of access conditions:

* Companies with Company IDs 1 and 2: `Company attribute: Company ID IS ANY OF [1,2]`
* Give access to newly created companies: `Company attribute: createdAt LESS THAN [30] DAYS AGO`
* Give access to users with the manager role at all companies: `User attribute: role IS [manager]`
* Give access to companies in the Pro plan segment: `Segment: In segment ['Pro']`
* Give access to companies in the Beta users’ segment: `Segment: In segment ['Beta users']`
* Give access to companies who already have access to the Huddle feature: `Feature access: Feature [Huddle] is enabled`
* Enable feature for a single company but only when managing a particular event: `Company attribute: Company ID IS [42] AND Other context: eventID IS [641]`

<figure><img src="../../.gitbook/assets/Screenshot 2025-09-12 at 13.21.25.png" alt="Reflag feature flag targeting rules"><figcaption><p>There are 5 different types of conditions to chose from</p></figcaption></figure>

## Setting multiple access rules <a href="#setting-multiple-targeting-rules" id="setting-multiple-targeting-rules"></a>

You can create as many access rules as you like. Rules are made up of individual conditions.

Companies will get access to your feature if they meet the criteria of any of the access rules. For a rule to match, they must meet all the conditions of that rule. In other words, there’s an `OR` between the rules and an `AND` between the conditions.

### Example

We’ve added two rules. The first rule has two conditions while the second rule has a single condition.

If _**any**_ rules match, the feature will be enabled for a given company or user. A rule matches if _**all**_ conditions within it match.

Another way to say this is that there’s an `OR` between the rules and an `AND` between the conditions.

The rules you create will be different between [environments](feature-targeting-rules.md#environments).

<figure><img src="../../.gitbook/assets/Screenshot 2025-09-12 at 13.25.21.png" alt="An example targeting configuration with two rules."><figcaption><p>An example access configuration with two rules. In the first rule there are two conditions and one condition in the second rule. If any of the rules match and if all the conditions in a given rules match, the company/user will have access.</p></figcaption></figure>

## Specify rollout percentage

Select a rollout percentage (default value: 100%) to give access to a percentage of companies that match the access rules.

Specifying 0% will not enable the feature flag for anyone.

### **Rollout percentages**

Rollout percentages are stable. If the initial rollout percentage is 1% and you roll it out to 100% before rolling it back to 1%, the companies found in the 1% rollout will be the same.

However, companies within the rollout percentages aren’t consistent across features. The companies found in a 1% rollout percentage may be different for different features. To roll out two features to the same set of companies, use the `Feature access` condition.

**Example**

You have rolled out `Feature A` and `Feature B` to 10% of the `Beta User` segment.

The set of companies within the `Beta User` segment with access to `Feature A` and `Feature B` will not be the same.

## Environments

You can switch between environments by clicking the environments in the left sidebar.

## Rolling back feature access changes

See previous access rules and roll back to past rules by reviewing the `Targeting timeline` underneath.

Find past versions and click the `Rollback button` to reimplement previous access rules.

Access rules that use segment rules are linked to the current version of the segment even if you roll back to a previous version of the access rules.

### **Example**

The `Beta customers` segment contains 40 companies. Version #1 of the Huddles gives access to 25% of companies in the `Beta customers` segment (10 companies) on January 1st.

On January 15th, you add 20 more companies to the `Beta customers` segment (60 companies).

On January 20th, Version #2 of the Huddles feature gives 50% of companies in the `Beta customers` segment (30 companies) access.

The next day, you roll it back to Version #1. Since the `Beta customers` segment now contains 60 companies, the feature will be available to 15 companies rather than 10 companies.

```

--------------------------------------------------------------------------------
/.gitbook/assets/posthog.svg:
--------------------------------------------------------------------------------

```
<svg width="512" height="289" viewBox="0 0 512 289" fill="none" xmlns="http://www.w3.org/2000/svg">
<style>
@media (prefers-color-scheme: dark) {
    path { fill: white; }
}
</style>
<path d="M97.8208 146.418C96.9606 148.153 94.5059 148.153 93.6457 146.418L91.5885 142.27C91.4265 141.943 91.3421 141.583 91.3421 141.217C91.3421 140.852 91.4265 140.492 91.5885 140.165L93.6457 136.016C94.5059 134.281 96.9606 134.281 97.8208 136.016L99.878 140.165C100.04 140.492 100.124 140.852 100.124 141.217C100.124 141.583 100.04 141.943 99.878 142.27L97.8208 146.418ZM97.8208 169.948C96.9606 171.683 94.5059 171.683 93.6457 169.948L91.5885 165.799C91.4265 165.472 91.3421 165.112 91.3421 164.747C91.3421 164.381 91.4265 164.021 91.5885 163.694L93.6457 159.545C94.5059 157.81 96.9606 157.81 97.8208 159.545L99.878 163.694C100.04 164.021 100.124 164.381 100.124 164.747C100.124 165.112 100.04 165.472 99.878 165.799L97.8208 169.948Z" fill="#1D4AFF"/>
<path d="M72.4 161.017C72.4 158.92 74.914 157.869 76.3841 159.352L87.0821 170.14C88.5527 171.623 87.5112 174.158 85.432 174.158H74.734C74.1152 174.158 73.5217 173.91 73.084 173.469C72.6463 173.028 72.4003 172.429 72.4 171.805V161.017ZM72.4 149.654C72.4 150.279 72.646 150.877 73.0839 151.318L95.0498 173.469C95.4875 173.91 96.081 174.158 96.6999 174.158H108.765C110.844 174.158 111.886 171.623 110.415 170.14L76.3846 135.823C74.914 134.341 72.4 135.391 72.4 137.487V149.654V149.654ZM72.4 126.125C72.4 126.749 72.646 127.348 73.0839 127.789L118.383 173.469C118.82 173.91 119.414 174.158 120.033 174.158H132.098C134.177 174.158 135.219 171.623 133.749 170.14L76.3846 112.294C74.914 110.811 72.4 111.861 72.4 113.958V126.125ZM95.7333 126.125C95.7333 126.749 95.9793 127.348 96.4172 127.789L138.416 170.14C139.886 171.623 142.4 170.573 142.4 168.476V156.31C142.4 155.685 142.154 155.087 141.716 154.645L99.7174 112.294C98.2472 110.811 95.7333 111.861 95.7333 113.958V126.125ZM123.051 112.294C121.58 110.811 119.067 111.861 119.067 113.958V126.125C119.067 126.749 119.313 127.348 119.75 127.789L138.415 146.611C139.886 148.094 142.399 147.044 142.399 144.946V132.78C142.399 132.156 142.154 131.557 141.716 131.116L123.051 112.294Z" fill="#F9BD2B"/>
<path d="M171.654 161.305L149.685 139.152C148.214 137.669 145.7 138.719 145.7 140.816V171.805C145.7 172.429 145.946 173.028 146.384 173.469C146.821 173.91 147.415 174.158 148.034 174.158H182.065C182.684 174.158 183.278 173.91 183.716 173.469C184.153 173.028 184.399 172.429 184.399 171.805V168.983C184.399 167.683 183.35 166.644 182.072 166.477C178.129 165.959 174.466 164.141 171.654 161.305H171.654ZM156.9 166.629C155.91 166.629 154.96 166.232 154.26 165.526C153.56 164.82 153.167 163.863 153.167 162.864C153.167 161.866 153.56 160.909 154.26 160.203C154.96 159.497 155.91 159.1 156.9 159.099C157.89 159.1 158.839 159.496 159.539 160.202C160.239 160.908 160.633 161.866 160.633 162.864C160.633 163.863 160.239 164.82 159.539 165.526C158.839 166.232 157.89 166.629 156.9 166.629Z" fill="black"/>
<path d="M72.4 171.805C72.4 172.429 72.6459 173.028 73.0836 173.469C73.5214 173.91 74.115 174.158 74.734 174.158H85.432C87.5112 174.158 88.5527 171.623 87.0821 170.14L76.3846 159.352C74.914 157.87 72.4 158.92 72.4 161.017V171.805ZM95.7333 131.806L76.3841 112.294C74.914 110.811 72.4 111.861 72.4 113.958V126.125C72.4 126.749 72.646 127.348 73.0839 127.789L95.7333 150.629V131.806ZM76.3841 135.823C74.914 134.341 72.4 135.391 72.4 137.488V149.654C72.4 150.278 72.646 150.877 73.0839 151.318L95.7333 174.158V155.335L76.3841 135.823Z" fill="#1D4AFF"/>
<path d="M119.067 132.78C119.067 132.471 119.006 132.165 118.889 131.88C118.771 131.594 118.599 131.334 118.383 131.116L99.7179 112.294C98.2472 110.811 95.7333 111.862 95.7333 113.958V126.125C95.7333 126.749 95.9793 127.348 96.4172 127.789L119.067 150.629V132.78ZM95.7333 174.158H108.765C110.844 174.158 111.886 171.623 110.415 170.14L95.7333 155.335V174.158ZM95.7333 131.806V149.654C95.7333 150.278 95.9793 150.877 96.4172 151.318L119.067 174.158V156.31C119.067 156.001 119.006 155.694 118.889 155.409C118.771 155.123 118.599 154.864 118.383 154.645L95.7333 131.806Z" fill="#F54E00"/>
<path d="M211.624 164.764H221.211V148.73H229.222C238.021 148.73 243.665 143.468 243.665 135.329C243.665 127.19 238.021 121.927 229.222 121.927H211.624V164.763V164.764ZM221.211 140.469V130.188H228.251C231.892 130.188 234.077 132.146 234.077 135.328C234.077 138.511 231.892 140.469 228.251 140.469H221.211V140.469ZM261.011 165.253C270.357 165.253 277.153 158.522 277.153 149.342C277.153 140.163 270.357 133.432 261.011 133.432C251.544 133.432 244.869 140.163 244.869 149.342C244.869 158.522 251.544 165.253 261.011 165.253ZM253.729 149.342C253.729 144.447 256.642 141.081 261.011 141.081C265.319 141.081 268.233 144.447 268.233 149.342C268.233 154.238 265.319 157.604 261.011 157.604C256.642 157.604 253.729 154.238 253.729 149.342ZM292.497 165.253C299.658 165.253 304.513 160.724 304.513 155.401C304.513 142.917 288.067 146.956 288.067 142.06C288.067 140.714 289.462 139.857 291.466 139.857C293.529 139.857 296.017 141.142 296.806 143.957L303.966 140.959C302.571 136.492 297.412 133.432 291.162 133.432C284.426 133.432 280.239 137.47 280.239 142.305C280.239 153.993 296.442 150.75 296.442 155.584C296.442 157.298 294.864 158.461 292.497 158.461C289.099 158.461 286.732 156.074 286.004 153.198L278.843 156.013C280.421 160.663 285.033 165.253 292.497 165.253ZM327.578 164.458L326.972 156.686C325.94 157.237 324.605 157.42 323.513 157.42C321.328 157.42 319.872 155.829 319.872 153.075V141.387H327.275V133.921H319.872V124.987H310.951V133.921H306.096V141.387H310.951V154.238C310.951 161.704 315.988 165.253 322.602 165.253C324.423 165.253 326.122 164.948 327.579 164.458H327.578ZM358.682 121.927V138.572H341.811V121.928H332.223V164.763H341.811V146.834H358.682V164.763H368.331V121.927H358.682ZM389.612 165.253C398.957 165.253 405.754 158.522 405.754 149.342C405.754 140.163 398.958 133.432 389.612 133.432C380.145 133.432 373.47 140.163 373.47 149.342C373.47 158.522 380.145 165.253 389.612 165.253ZM382.331 149.342C382.331 144.447 385.243 141.081 389.613 141.081C393.921 141.081 396.834 144.447 396.834 149.342C396.834 154.238 393.921 157.604 389.613 157.604C385.243 157.604 382.331 154.238 382.331 149.342ZM422.973 163.784C426.311 163.784 429.284 162.622 430.862 160.602V163.54C430.862 166.967 428.131 169.353 423.944 169.353C420.97 169.353 418.361 167.884 417.936 165.375L409.804 166.661C410.897 172.474 416.783 176.391 423.944 176.391C433.35 176.391 439.6 170.822 439.6 162.561V133.921H430.801V136.553C429.163 134.656 426.371 133.432 422.791 133.432C414.295 133.432 408.955 139.307 408.955 148.608C408.955 157.91 414.295 163.784 422.973 163.784ZM417.632 148.608C417.632 144.019 420.302 141.081 424.429 141.081C428.616 141.081 431.286 144.019 431.286 148.608C431.286 153.198 428.616 156.135 424.429 156.135C420.302 156.135 417.632 153.198 417.632 148.608Z" fill="black"/>
</svg>

```

--------------------------------------------------------------------------------
/product-handbook/remote-config.md:
--------------------------------------------------------------------------------

```markdown
---
description: Learn more about remote config in Reflag
---

# Remote config

## What is remote config?

Remote config serves as a dynamic and flexible approach to configuring your features in relation to the targeted audience. A feature's remote config consists of a set of **config values**. Each config value is a **key** — **payload** pair where the keys are unique and the values are JSON values. Both are supplied by you.

Config values have **environment-specific targeting rules** used by Reflag to match them against your users and companies.

The use of remote config reduces the need for constant code changes, facilitating seamless adjustments to application settings. This capability not only streamlines operational processes but also enhances responsiveness by allowing you to test and modify features on-the-fly.

This is what remote config looks like in React:

{% code fullWidth="false" %}
```tsx
function AISummarizerRemotelyConfigured({copy}: {copy: string}) {
  const { config: { payload } } = useFlag('my-ai-feature');

  return <AISummarizer model={payload.model} provider={payload.provider} />
}
```
{% endcode %}

{% hint style="info" %}
Remote config is works independently from [access rules](feature-rollouts/feature-targeting-rules.md). In other words, remote config isn't affect by whether the user has access to the feature or not.
{% endhint %}

## Config values

Config values, as noted above, consist of:

* A mandatory unique string **key**, supplied by you. They key is unique per feature. If you just need a string configuration, you can use the key by itself.
* An optional JSON **payload**, that can be any valid JSON value: `null`, `string`, `number`, `array` or `object`
* Targeting rules which are environment-specific, allowing you to target different config values to different users/companies in different environments
* Default setting, which tells Reflag which config value to use as fallback if no targeting set matches the given user/company context

{% hint style="danger" %}
Do not store sensitive data in the key or the payload of the config value even if the feature is marked as **secret.**

Sensitive data, like API keys or passwords should be managed with proper care outside of Reflag
{% endhint %}

The config values are shared across all environments. Any new value that you add in one environment, will automatically be added to other environments but without any targeting rules, effectively making it disabled.

<figure><img src="../.gitbook/assets/Screenshot 2025-09-12 at 14.29.56.png" alt=""><figcaption><p>Remote config with three values in the Production environment</p></figcaption></figure>

In the image above, a feature is set up to have three config values. This is an example of configuring  LLM settings for an AI feature. The "gpt-4o" value is the default and served with all requests that do not match any other, more specific values. The "claude-3-7-sonnet" value will be served to users in "Apex" and "Blaze" companies while the "gpt-5" value will be served to the "Adrian Borer" user as well as the "Logix" and "Hightrix" companies.

{% hint style="info" %}
We recommend that you chose simple text values for config value keys. Try to avoid using spaces or any special characters if you don't intend to use the key as display text in your application.
{% endhint %}

## Matching algorithm&#x20;

* Users, companies and segments can appear only once in the targeting rules for each environment. This means that you cannot configure two distinct config values in the same environment to target the same entity explicitly
* Matches are not evaluated in the order of their appearance, but in order of their **specificity**:
  * Directly specified users match first
  * Then, directly specified companies match
  * Then, going top to bottom in order of appearance of the config values, segments specified are matched against the company
  * Finally, if no rule is matched, the default one is used
* **`Other context`** is  not taken into account when evaluating config value targeting rules
* _Percentage rollout_ is not supported for Remote config

## Usage scenarios

In addition to the AI model configuration example above, this section shows some other scenarios that can be solved by using remote config.

### Basic feature configuration

Sometimes it is useful to simply store some feature-specific config that can be used by your application. This is true even if you do not plan to have different config values targeted to different users. You can create a single config value (which is always going to be set as **default**) and set its payload to any JSON object. In such cases, the key is not actually useful and can be set to any value you chose.

On the application side, you can check if the user has access to the feature, and in that case, use the accompanying config to suit your needs.

{% hint style="info" %}
Since the config values are evaluated independently from the access, your application can still use the remote config even if the feature is disabled for the user. For example, this could be used to keep information in the payload that can explain to the user why the feature is not available, or offer alternatives, etc.
{% endhint %}

### Multi-variate feature flags

The **multi-variate feature flag** is the classical example that is directly enabled by the use of remote feature config in your application. To create a multi-variate feature flag follow these simple steps:

1. Create feature, and define it's access rules, if any,
2. Create the "_variants_" by using config values. Each config value has its key representing the variant name.
3. Adjust the targeting rules on each config value according to your needs,
4. Payloads can be be ignored if additional configuration is not required for each variant.

### Entitlements

Remote config is a great tool when used to support [entitlements scenarios](feature-entitlements/). For each feature you create, you can add config values targeting different **companies** or **company segments** with different values. Each config value can then define the restrictions on the feature use.

<figure><img src="../.gitbook/assets/image (5).png" alt=""><figcaption><p>Example of AI model variations by subscription tier</p></figcaption></figure>

The image above exemplifies a feature called "_AI Transcripts_" which serves four different categories of customers: "_Not customers_", "_Beta_", "Business Plan", and "_Enterprise Plan_". Each category is entitled to different feature tier.

## Start using remote config

First, [create your first flag](https://app.reflag.com/), if you haven't yet. Then, open your flag and click on the "_Remote config_" tab at the top.

<figure><img src="../.gitbook/assets/Screenshot 2025-09-12 at 14.37.52.png" alt=""><figcaption><p>Click "Create config value" to start</p></figcaption></figure>

Once you have set up your feature and config values, don't forget to configure the targeting rules in other environments as well.

Finally, use [any of our SDKs](../supported-languages/overview.md) to access the feature and its config in your application.

```

--------------------------------------------------------------------------------
/.gitbook/assets/ts-js.svg:
--------------------------------------------------------------------------------

```
<svg width="512" height="290" viewBox="0 0 512 290" fill="none" xmlns="http://www.w3.org/2000/svg">
<style>
@media (prefers-color-scheme: dark) {
    path { fill: white; }
    .text { display: none }
}
</style>
<path fill-rule="evenodd" clip-rule="evenodd" d="M126 105C126 97.8203 131.82 92 139 92H218C225.18 92 231 97.8203 231 105V184C231 191.18 225.18 197 218 197H139C131.82 197 126 191.18 126 184V105ZM211.959 156.653C211.795 154.999 211.091 153.714 209.846 152.798C208.602 151.882 206.914 151.424 204.781 151.424C203.332 151.424 202.108 151.629 201.11 152.039C200.112 152.436 199.346 152.989 198.813 153.7C198.294 154.411 198.034 155.218 198.034 156.12C198.007 156.872 198.164 157.528 198.506 158.089C198.861 158.649 199.346 159.135 199.962 159.545C200.577 159.941 201.288 160.29 202.094 160.591C202.901 160.878 203.762 161.124 204.678 161.329L208.452 162.231C210.284 162.642 211.966 163.188 213.497 163.872C215.028 164.556 216.354 165.396 217.475 166.395C218.596 167.393 219.465 168.568 220.08 169.922C220.709 171.275 221.03 172.827 221.044 174.577C221.03 177.147 220.374 179.376 219.075 181.263C217.79 183.136 215.93 184.592 213.497 185.631C211.077 186.656 208.158 187.169 204.74 187.169C201.349 187.169 198.396 186.649 195.881 185.61C193.379 184.571 191.424 183.033 190.015 180.996C188.621 178.945 187.889 176.409 187.821 173.388H196.414C196.51 174.796 196.913 175.972 197.624 176.915C198.348 177.845 199.312 178.549 200.515 179.027C201.732 179.492 203.106 179.725 204.637 179.725C206.141 179.725 207.447 179.506 208.554 179.068C209.676 178.631 210.544 178.022 211.159 177.243C211.774 176.464 212.082 175.568 212.082 174.557C212.082 173.613 211.802 172.82 211.241 172.178C210.694 171.535 209.887 170.988 208.821 170.537C207.768 170.086 206.476 169.676 204.945 169.307L200.372 168.158C196.831 167.297 194.035 165.95 191.984 164.118C189.933 162.286 188.915 159.818 188.928 156.715C188.915 154.172 189.592 151.95 190.959 150.05C192.34 148.149 194.233 146.666 196.639 145.6C199.046 144.533 201.78 144 204.843 144C207.96 144 210.68 144.533 213.005 145.6C215.343 146.666 217.161 148.149 218.46 150.05C219.759 151.95 220.428 154.151 220.469 156.653H211.959ZM149 144.574V151.896H161.858V186.574H170.636V151.896H183.494V144.574H149Z" fill="#3178C6"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M269 105C269 97.8203 274.82 92 282 92H361C368.18 92 374 97.8203 374 105V184C374 191.18 368.18 197 361 197H282C274.82 197 269 191.18 269 184V105ZM355.017 156.653C354.853 154.999 354.148 153.714 352.904 152.798C351.66 151.882 349.972 151.424 347.839 151.424C346.39 151.424 345.166 151.629 344.168 152.039C343.17 152.436 342.404 152.989 341.871 153.7C341.352 154.411 341.092 155.218 341.092 156.12C341.064 156.872 341.222 157.528 341.563 158.089C341.919 158.649 342.404 159.135 343.02 159.545C343.635 159.941 344.346 160.29 345.152 160.591C345.959 160.878 346.82 161.124 347.736 161.329L351.51 162.231C353.342 162.642 355.023 163.188 356.555 163.872C358.086 164.556 359.412 165.396 360.533 166.395C361.654 167.393 362.522 168.568 363.138 169.922C363.767 171.275 364.088 172.827 364.102 174.577C364.088 177.147 363.432 179.376 362.133 181.263C360.848 183.136 358.988 184.592 356.555 185.631C354.135 186.656 351.216 187.169 347.798 187.169C344.407 187.169 341.454 186.649 338.938 185.61C336.437 184.571 334.481 183.033 333.073 180.996C331.679 178.945 330.947 176.409 330.879 173.388H339.472C339.567 174.796 339.971 175.972 340.682 176.915C341.406 177.845 342.37 178.549 343.573 179.027C344.79 179.492 346.164 179.725 347.695 179.725C349.199 179.725 350.505 179.506 351.612 179.068C352.733 178.631 353.602 178.022 354.217 177.243C354.832 176.464 355.14 175.568 355.14 174.557C355.14 173.613 354.859 172.82 354.299 172.178C353.752 171.535 352.945 170.988 351.879 170.537C350.826 170.086 349.534 169.676 348.003 169.307L343.43 168.158C339.889 167.297 337.093 165.95 335.042 164.118C332.991 162.286 331.973 159.818 331.986 156.715C331.973 154.172 332.649 151.95 334.017 150.05C335.397 148.149 337.291 146.666 339.697 145.6C342.104 144.533 344.838 144 347.9 144C351.018 144 353.738 144.533 356.062 145.6C358.4 146.666 360.219 148.149 361.518 150.05C362.816 151.95 363.486 154.151 363.527 156.653H355.017ZM324.891 144.574H316.114V173.859C316.114 175.199 315.915 176.327 315.519 177.243C315.122 178.159 314.541 178.856 313.776 179.335C313.024 179.8 312.101 180.032 311.007 180.032C309.968 180.032 309.066 179.827 308.3 179.417C307.548 178.993 306.953 178.392 306.516 177.612C306.092 176.819 305.866 175.869 305.839 174.762H297C296.987 177.551 297.581 179.868 298.784 181.714C299.988 183.546 301.615 184.913 303.665 185.815C305.73 186.704 308.027 187.148 310.556 187.148C313.4 187.148 315.895 186.608 318.041 185.528C320.188 184.448 321.863 182.91 323.066 180.914C324.282 178.918 324.891 176.566 324.891 173.859V144.574Z" fill="#FFDF00"/>
<path class="text" d="M355.017 156.653C354.853 154.999 354.148 153.714 352.904 152.798C351.66 151.882 349.972 151.424 347.839 151.424C346.39 151.424 345.166 151.629 344.168 152.039C343.17 152.436 342.404 152.989 341.871 153.7C341.352 154.411 341.092 155.218 341.092 156.12C341.064 156.872 341.222 157.528 341.563 158.089C341.919 158.649 342.404 159.135 343.02 159.545C343.635 159.941 344.346 160.29 345.152 160.591C345.959 160.878 346.82 161.124 347.736 161.329L351.51 162.231C353.342 162.642 355.023 163.188 356.555 163.872C358.086 164.556 359.412 165.396 360.533 166.395C361.654 167.393 362.522 168.568 363.138 169.922C363.767 171.275 364.088 172.827 364.102 174.577C364.088 177.147 363.432 179.376 362.133 181.263C360.848 183.136 358.988 184.592 356.555 185.631C354.135 186.656 351.216 187.169 347.798 187.169C344.407 187.169 341.454 186.649 338.938 185.61C336.437 184.571 334.481 183.033 333.073 180.996C331.679 178.945 330.947 176.409 330.879 173.388H339.472C339.567 174.796 339.971 175.972 340.682 176.915C341.406 177.845 342.37 178.549 343.573 179.027C344.79 179.492 346.164 179.725 347.695 179.725C349.199 179.725 350.505 179.506 351.612 179.068C352.733 178.631 353.602 178.022 354.217 177.243C354.832 176.464 355.14 175.568 355.14 174.557C355.14 173.613 354.859 172.82 354.299 172.178C353.752 171.535 352.945 170.988 351.879 170.537C350.826 170.086 349.534 169.676 348.003 169.307L343.43 168.158C339.889 167.297 337.093 165.95 335.042 164.118C332.991 162.286 331.973 159.818 331.986 156.715C331.973 154.172 332.649 151.95 334.017 150.05C335.397 148.149 337.291 146.666 339.697 145.6C342.104 144.533 344.838 144 347.9 144C351.018 144 353.738 144.533 356.062 145.6C358.4 146.666 360.219 148.149 361.518 150.05C362.816 151.95 363.486 154.151 363.527 156.653H355.017Z" fill="black"/>
<path class="text" d="M316.114 144.574H324.891V173.859C324.891 176.566 324.282 178.918 323.066 180.914C321.863 182.91 320.188 184.448 318.041 185.528C315.895 186.608 313.4 187.148 310.556 187.148C308.027 187.148 305.73 186.704 303.665 185.815C301.614 184.913 299.988 183.546 298.784 181.714C297.581 179.868 296.987 177.551 297 174.762H305.839C305.866 175.869 306.092 176.819 306.516 177.612C306.953 178.392 307.548 178.993 308.3 179.417C309.066 179.827 309.968 180.032 311.007 180.032C312.101 180.032 313.024 179.8 313.776 179.335C314.541 178.856 315.122 178.159 315.519 177.243C315.915 176.327 316.114 175.199 316.114 173.859V144.574Z" fill="black"/>
</svg>

```

--------------------------------------------------------------------------------
/.gitbook/assets/datadog.svg:
--------------------------------------------------------------------------------

```
<svg width="512" height="289" viewBox="0 0 512 289" fill="none" xmlns="http://www.w3.org/2000/svg">
<style>
@media (prefers-color-scheme: dark) {
    path { fill: white; }
}
</style>
<path fill-rule="evenodd" clip-rule="evenodd" d="M191.438 163.833H174.114V124.171H191.438C203.917 124.171 210.165 130.422 210.165 142.92C210.161 156.859 203.917 163.833 191.438 163.833ZM181.516 157.449H190.317C198.608 157.449 202.749 152.607 202.749 142.915C202.749 134.665 198.604 130.537 190.317 130.537H181.516V157.449Z" fill="#632CA6"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M217.919 163.833H210.314L227.281 124.171H235.244L252.572 163.833H244.61L239.579 153.017H226.781L229.324 146.637H237.624L231.084 131.74L217.919 163.833Z" fill="#632CA6"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M248.389 124.171H278.711V130.547H267.256V163.833H259.854V130.547H248.389V124.171Z" fill="#632CA6"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M282.519 163.833H274.913L291.88 124.171H299.843L317.172 163.833H309.2L304.169 153.017H291.371L293.914 146.637H302.215L295.679 131.74L282.519 163.833Z" fill="#632CA6"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M339.41 163.833H322.086V124.171H339.41C351.898 124.171 358.138 130.422 358.138 142.92C358.138 156.859 351.898 163.833 339.41 163.833ZM329.493 157.449H338.294C346.581 157.449 350.736 152.607 350.736 142.915C350.736 134.665 346.585 130.537 338.294 130.537H329.493V157.449Z" fill="#632CA6"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M363.154 144.058C363.154 130.607 369.848 123.886 383.225 123.886C396.399 123.886 402.977 130.607 402.977 144.058C402.977 157.43 396.394 164.119 383.225 164.119C370.441 164.119 363.752 157.43 363.154 144.058ZM383.225 157.725C391.267 157.725 395.292 153.114 395.292 143.883C395.292 134.798 391.267 130.252 383.225 130.252C374.971 130.252 370.844 134.798 370.844 143.883C370.844 153.114 374.971 157.725 383.225 157.725Z" fill="#632CA6"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M433.877 147.784V157.071C432.168 157.513 430.64 157.734 429.292 157.734C420.236 157.734 415.715 152.971 415.715 143.45C415.715 134.656 420.514 130.266 430.107 130.266C434.114 130.266 437.838 131.007 441.284 132.486V125.825C437.838 124.535 433.924 123.886 429.546 123.886C415.201 123.886 408.026 130.404 408.026 143.45C408.026 157.223 415.076 164.119 429.181 164.119C434.03 164.119 438.06 163.419 441.284 162.009V141.257H429.324L426.823 147.78L433.877 147.784Z" fill="#632CA6"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M144.19 163.608L136.376 158.485L129.859 169.311L122.28 167.109L115.606 177.238L115.948 180.426L152.232 173.779L150.124 151.235L144.19 163.608ZM110.353 153.893L116.175 153.096C117.116 153.515 117.773 153.676 118.904 153.962C120.664 154.418 122.697 154.855 125.713 153.344C126.412 152.999 127.876 151.668 128.464 150.912L152.315 146.61L154.747 175.893L113.887 183.218L110.353 153.893ZM154.654 143.339L152.301 143.786L147.78 97.3152L70.7158 106.201L80.2116 182.821L89.2303 181.518C88.5124 180.495 87.3868 179.256 85.4737 177.671C82.8149 175.479 83.7552 171.747 85.3255 169.393C87.396 165.418 98.0823 160.36 97.4755 154.003C97.2578 151.691 96.8872 148.683 94.7286 146.619C94.6499 147.476 94.7935 148.3 94.7935 148.3C94.7935 148.3 93.9088 147.176 93.4641 145.642C93.024 145.053 92.6812 144.868 92.2134 144.081C91.8799 144.988 91.9262 146.043 91.9262 146.043C91.9262 146.043 91.2036 144.339 91.0832 142.901C90.6524 143.546 90.5458 144.767 90.5458 144.767C90.5458 144.767 89.6055 142.081 89.8186 140.635C89.3878 139.377 88.114 136.881 88.4753 131.205C90.8284 132.845 96.0071 132.454 98.0221 129.496C98.6937 128.515 99.1523 125.843 97.6886 120.578C96.7482 117.202 94.4229 112.171 93.515 110.259L93.4085 110.338C93.8856 111.876 94.8722 115.096 95.2521 116.663C96.3962 121.403 96.7019 123.052 96.1646 125.235C95.706 127.133 94.6128 128.377 91.8336 129.768C89.0543 131.164 85.3672 127.769 85.1309 127.585C82.4304 125.447 80.3413 121.955 80.1097 120.26C79.8688 118.404 81.1844 117.289 81.8514 115.774C80.9018 116.045 79.8411 116.524 79.8411 116.524C79.8411 116.524 81.1056 115.221 82.6666 114.097C83.3151 113.673 83.6903 113.401 84.3713 112.839C83.3846 112.825 82.5833 112.848 82.5833 112.848C82.5833 112.848 84.2277 111.964 85.9323 111.324C84.6862 111.268 83.4912 111.314 83.4912 111.314C83.4912 111.314 87.1598 109.684 90.0548 108.486C92.0466 107.675 93.9921 107.915 95.0853 109.486C96.5213 111.545 98.0267 112.664 101.223 113.36C103.187 112.494 103.78 112.051 106.244 111.383C108.412 109.011 110.116 108.702 110.116 108.702C110.116 108.702 109.273 109.472 109.046 110.683C110.279 109.721 111.627 108.914 111.627 108.914C111.627 108.914 111.103 109.555 110.617 110.573L110.728 110.739C112.164 109.882 113.85 109.209 113.85 109.209C113.85 109.209 113.368 109.817 112.803 110.6C113.887 110.591 116.083 110.646 116.93 110.743C121.961 110.854 123.003 105.4 124.935 104.718C127.353 103.861 128.432 103.34 132.55 107.362C136.084 110.817 138.845 116.994 137.474 118.381C136.325 119.528 134.055 117.934 131.545 114.815C130.215 113.166 129.215 111.218 128.742 108.739C128.344 106.648 126.801 105.436 126.801 105.436C126.801 105.436 127.695 107.422 127.695 109.172C127.695 110.131 127.816 113.705 129.358 115.709C129.205 116.004 129.136 117.16 128.965 117.381C127.172 115.225 123.318 113.682 122.693 113.226C124.819 114.958 129.706 118.938 131.582 122.752C133.356 126.359 132.309 129.667 133.208 130.524C133.462 130.768 137.024 135.181 137.71 137.401C138.905 141.266 137.779 145.329 136.218 147.849L131.85 148.526C131.211 148.351 130.78 148.259 130.206 147.932C130.521 147.374 131.151 145.988 131.156 145.702L130.91 145.274C129.548 147.19 127.274 149.051 125.379 150.12C122.901 151.516 120.048 151.299 118.19 150.728C112.914 149.111 107.926 145.564 106.726 144.633C106.726 144.633 106.689 145.375 106.916 145.545C108.245 147.038 111.293 149.737 114.239 151.617L107.963 152.303L110.932 175.285C109.616 175.474 109.412 175.566 107.972 175.769C106.703 171.31 104.275 168.394 101.621 166.699C99.282 165.202 96.0534 164.865 92.9592 165.473L92.76 165.704C94.9093 165.483 97.4477 165.791 100.051 167.431C102.608 169.039 104.669 173.194 105.429 175.695C106.402 178.892 107.073 182.31 104.456 185.935C102.594 188.511 97.1651 189.934 92.7739 186.857C93.9458 188.732 95.53 190.266 97.6608 190.551C100.829 190.98 103.835 190.431 105.901 188.322C107.666 186.516 108.606 182.739 108.356 178.763L111.149 178.362L112.159 185.498L158.425 179.956L154.654 143.339ZM126.505 123.955C126.375 124.25 126.171 124.438 126.477 125.392L126.496 125.447L126.542 125.572L126.667 125.857C127.218 126.972 127.82 128.027 128.826 128.566C129.085 128.524 129.358 128.492 129.636 128.478C130.581 128.437 131.179 128.584 131.559 128.792C131.591 128.603 131.6 128.331 131.577 127.926C131.503 126.511 131.86 124.107 129.127 122.84C128.094 122.365 126.648 122.508 126.167 123.107C126.255 123.116 126.333 123.135 126.394 123.158C127.13 123.407 126.639 123.655 126.505 123.955ZM134.166 137.152C133.81 136.954 132.133 137.033 130.956 137.171C128.714 137.433 126.292 138.207 125.759 138.617C124.796 139.359 125.231 140.653 125.944 141.183C127.945 142.666 129.696 143.666 131.545 143.422C132.679 143.274 133.68 141.487 134.389 139.861C134.88 138.746 134.88 137.544 134.166 137.152ZM114.309 125.705C114.943 125.106 111.159 124.323 108.222 126.313C106.059 127.783 105.989 130.934 108.06 132.716C108.268 132.891 108.44 133.02 108.597 133.122C109.204 132.836 109.894 132.55 110.686 132.297C112.03 131.864 113.141 131.638 114.058 131.523C114.498 131.035 115.008 130.178 114.878 128.626C114.707 126.511 113.1 126.848 114.309 125.705Z" fill="#632CA6"/>
</svg>

```

--------------------------------------------------------------------------------
/api/public-api/public-api-reference.md:
--------------------------------------------------------------------------------

```markdown
# Public API Reference

{% openapi-operation spec="front-api" path="/features/enabled" method="get" %}
[OpenAPI front-api](https://front.reflag.com/openapi.yaml)
{% endopenapi-operation %}

{% openapi-operation spec="front-api" path="/features" method="get" %}
[OpenAPI front-api](https://front.reflag.com/openapi.yaml)
{% endopenapi-operation %}

{% openapi-operation spec="front-api" path="/features/evaluated" method="get" %}
[OpenAPI front-api](https://front.reflag.com/openapi.yaml)
{% endopenapi-operation %}

{% openapi-operation spec="front-api" path="/features/events" method="post" %}
[OpenAPI front-api](https://front.reflag.com/openapi.yaml)
{% endopenapi-operation %}

{% openapi-operation spec="front-api" path="/user" method="post" %}
[OpenAPI front-api](https://front.reflag.com/openapi.yaml)
{% endopenapi-operation %}

{% openapi-operation spec="front-api" path="/company" method="post" %}
[OpenAPI front-api](https://front.reflag.com/openapi.yaml)
{% endopenapi-operation %}

{% openapi-operation spec="front-api" path="/event" method="post" %}
[OpenAPI front-api](https://front.reflag.com/openapi.yaml)
{% endopenapi-operation %}

{% openapi-operation spec="front-api" path="/feedback" method="post" %}
[OpenAPI front-api](https://front.reflag.com/openapi.yaml)
{% endopenapi-operation %}

{% openapi-operation spec="front-api" path="/bulk" method="post" %}
[OpenAPI front-api](https://front.reflag.com/openapi.yaml)
{% endopenapi-operation %}

#### Rules schema

| Attribute | Type   | Description                                                                                                                                          |
| --------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| filter    | Filter | Object containing filtering rules which will evaluate against context object. Filter can be an instance of 5 different filter types described below. |

#### Filter Schema

{% tabs %}
{% tab title="Group" %}
| Attribute | Type              | Desription                                                                                  |
| --------- | ----------------- | ------------------------------------------------------------------------------------------- |
| type      | `group`           | Filter group will evaluate by applying a logical operation to the array of filters provided |
| filters   | Filter\[]         | Array of filters                                                                            |
| operator  | enum(`and`, `or`) | Logical operation                                                                           |
{% endtab %}

{% tab title="Negation" %}
| Attribute | Type       | Desription                                                                         |
| --------- | ---------- | ---------------------------------------------------------------------------------- |
| type      | `negation` | Negation filter is used to negate the evaluation result of the underlying filters. |
| filter    | Filter     | Filter object to be negated                                                        |
{% endtab %}

{% tab title="Context" %}
| Attribute | Type                                                                                                                                    | Desription                                                                                                                                                                                                                                      |
| --------- | --------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| type      | `context`                                                                                                                               |                                                                                                                                                                                                                                                 |
| field     | string                                                                                                                                  | <p>Refers to a field of the context object.<br>Example: company.tier</p>                                                                                                                                                                        |
| values    | string\[]                                                                                                                               | Array of values which will be compared with the value of the context field. Operators SET, NOT\_SET, IS\_TRUE, IS\_FALSE require 0 values, ANY\_OF and NOT\_ANY\_OF support multiple values. All the other operators require exactly one value. |
| operator  | enum(`IS`,`IS_NOT`,`ANY_OF`,`NOT_ANY_OF`,`CONTAINS`,`NOT_CONTAINS`","`GT`" ,`LT`,`AFTER`,`BEFORE`,`SET`,`NOT_SET`,`IS_TRUE`,`IS_FALSE`) | Operator for comparison of the context field with provided values.                                                                                                                                                                              |
{% endtab %}

{% tab title="Rollout Percentage" %}
| Attribute               | Type                | Desription                                                                                                                                                                                                                                                                                                        |
| ----------------------- | ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| type                    | `rolloutPercentage` | Rollout percentage filter is used for gradual rollouts. It evaluates to true or false proportionally based on the rollout threshold provided. Reflag evaluates the filter by calculating a numeric hash from the rollout attribute. Contexts of which hash is under the threshold provided will evaluate to true. |
| partialRolloutAttribute | `company.id`        | Currently only "company.id" is supported.                                                                                                                                                                                                                                                                         |
| partialRolloutThreshold | number              | Number from 0 to 10000 where 0 means no one will have access and 10000 means everyone will have access.                                                                                                                                                                                                           |
{% endtab %}

{% tab title="Constant" %}
| Attribute | Type       | Desription                                                                                                                       |
| --------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------- |
| type      | `constant` | Filter constant will evaluate to the value provided. This is expected when the feature is enabled either for everyone or no one. |
| value     | boolean    | Value to which the filter should evaluate                                                                                        |
{% endtab %}
{% endtabs %}

```

--------------------------------------------------------------------------------
/product-handbook/launch-monitor/automated-feedback-surveys.md:
--------------------------------------------------------------------------------

```markdown
---
description: Learn more about automated feedback surveys in Reflag
---

# Automated feedback surveys

Automated feedback surveys are no-code surveys that collect in-app user feedback right after a user interacts with a feature.

## Getting started

* Select the [feature](../concepts/feature.md) that you would like to start collecting feedback for
* Go to `Settings` and click on `Enable Feedback surveys`
* Enter a question in the `Prompt question` input. \
  For example: `How did you like the new Huddle feature?`
* Click the `Save` button to save your settings

<div align="left"><figure><img src="../../.gitbook/assets/surveys-min.png" alt="Automated feedback survey settings"><figcaption></figcaption></figure></div>

* Test your feedback widget.
  * The `Try out` button allows you to test the feedback widget.\
    \
    Select or search for a specific user you’d like to test it on (generally yourself or another team member) and click `Trigger the prompt`.\
    \
    Make sure that you’ve enabled feedback surveys and clicked the `Save` button _before_ testing.

## Configuration

* Define the `Prompt question`
  * The question specified here will be displayed as a question to the user in the feedback widget.
* Set the `Min. interactions before triggering`
  * Defines the number of times a user needs to interact with a feature before the feedback widget is triggered.\
    \
    This lets you gather feedback from first-time users or users who used the feature multiple times.\
    \
    The value is in events. The default value is 1.
* Set the  `Min. time after interactions`&#x20;
  * Determines the duration of time before the feedback widget is displayed.\
    \
    This lets you ask the user for feedback at the most relevant time after their interaction.\
    \
    The value is in seconds. The default value is 1.
* Set the `Max. time after interactions`&#x20;
  * Defines the maximum time for the feedback widget to appear to a user after they've interacted with a feature.\
    \
    The value is in seconds. The default value is 10.

### Configure max surveys per user per period

If you've enabled surveys for multiple features, you don’t want to overload users with them.&#x20;

To configure the maximum number of surveys each user sees during a given period, do the following:

* On the sidebar, click `Settings`. Then, select `Feedback`.
* Using the `Minimum time between asking for feedback` dropdown, you can define the duration required after a survey appears before a user is asked again.&#x20;
* You can choose from 11 pre-defined delay periods ranging from 5 minutes to 3 months.\
  \
  **Delay operators**
  * `5 minutes`
  * `20 minutes`
  * `1 hour`
  * `6 hours`
  * `2 days`
  * `5 days`
  * `1 week`
  * `2 weeks`
  * `1 month`
  * `2 months`
  * `3 months`

The default value is 1 week.&#x20;

Reflag will never ask a user for feedback about the same feature more than once, regardless of the `Minimum time between asking for feedback` configuration.

## Default feedback widget behavior

In the default state, the widget will appear in the bottom right corner of your app.

![](../../.gitbook/assets/8bf8a6e-Frame_201.png)

Once a user interacts with the widget by providing a CSAT score, the widget will expand to give them the option to add feedback.

![](<../../.gitbook/assets/03642c5-dwFrame_201 (1).png>)

After a user leaves a comment and clicks `Send feedback`, the widget will display a confirmation message and automatically close.

![](<../../.gitbook/assets/be124cd-dwdwFrame_201 (1).png>)

The feedback widget will automatically close if a user doesn't interact with it.\
\
The remaining time is visualized by the circle around the `x` button. When the circle is empty, the widget will disappear.

## Customizing the feedback widget

The behavior, language, positioning, content, and design of the feedback widget are fully customizable. This lets you integrate the feedback surveys with your app while following existing UI and design guidelines.\
\
You can find the complete developer documentation [on GitHub](https://github.com/reflagcom/javascript/blob/main/packages/browser-sdk/FEEDBACK.md).

![](https://files.readme.io/2506596-Customized_Widgets.png)

Here's a glimpse of how you can tailor the feedback widget to your needs.

### Positioning

The feedback widget can be configured to be placed and behave in three different ways:

| Type         | Description                                                                                                                                                                                                                       |
| ------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Modal**    | A modal overlay with a backdrop that blocks interaction with the underlying page. It is always centered on the page, making it the primary interface the user needs to interact with.                                             |
| **Dialog**   | A dialog appears in a specified corner of the viewport without limiting interaction with the rest of the page. It can be dismissed with a close button or will automatically disappear after a period if there is no interaction. |
| **Pushover** | A popover is anchored relative to a DOM element (typically a button). It can be dismissed by clicking outside the popover or by pressing the dedicated close button.                                                              |

Find additional positioning details in the [developer documentation](https://github.com/reflagcom/javascript/blob/main/packages/browser-sdk/FEEDBACK.md#positioning-and-behavior).&#x20;

### Language

You can customize the language of the feedback widget statically at page load or dynamically during runtime.\
\
You can supply your translations by passing an object to the options to either or both of the `reflag.init(options)` or `reflag.requestFeedback(options)` calls. These translations replace the English ones used by the feedback widget.&#x20;

Find additional details about languages and translation in the [developer documentation](https://github.com/reflagcom/javascript/blob/main/packages/browser-sdk/FEEDBACK.md#internationalization-i18n).

### Custom styling

The styling can be fully customized by applying custom CSS properties to your page in the CSS `:root` scope.&#x20;

More information can be found in the [developer documentation](https://github.com/reflagcom/javascript/blob/main/packages/browser-sdk/FEEDBACK.md#custom-styling) and [example stylesheet](https://github.com/reflagcom/javascript/blob/main/packages/tracking-sdk/dev/index.css).

### Using your UI

You can replace the existing UI with your own and intercept the standard feedback survey event to trigger your own or collect feedback manually and pass it along to Reflag.

Check out the[ developer documentation](https://github.com/reflagcom/javascript/blob/main/packages/browser-sdk/FEEDBACK.md#using-your-own-ui-to-collect-feedback) for the full rundown.

### Overriding global configurations

The Reflag SDK feedback widget is configured with the following defaults:

* Positioning: Lower right-hand corner of the viewport
* Language: English
* Theme: Light mode&#x20;

These settings can be overwritten when initializing the Reflag SDK.

The [developer documentation](https://github.com/reflagcom/javascript/blob/main/packages/browser-sdk/FEEDBACK.md#global-feedback-configuration) explains how.&#x20;

## Technical overview

When the [Reflag Browser SDK](https://github.com/reflagcom/javascript) is installed in your web application, browsers using your application will automatically open and maintain a connection to Reflag’s servers through a real-time server-sent events connection.

This allows the installed SDK to react to any events that are sent to Reflag, even events you send through other means, for example, from your servers.&#x20;

When a user triggers an event tracked by a feature, Reflag may determine the `Min. interactions before triggering` event threshold has been surpassed and prompt the user for feedback. If so, the Reflag service will send a request to the SDK instance.&#x20;

By default, this request will open up the Reflag feedback widget in the user's browser through the real-time connection.

The live connection for automated feedback is established once you have initialized the ReflagClient

```

--------------------------------------------------------------------------------
/.gitbook/assets/node-js.svg:
--------------------------------------------------------------------------------

```
<svg width="512" height="290" viewBox="0 0 512 290" fill="none" xmlns="http://www.w3.org/2000/svg">
<style>
@media (prefers-color-scheme: dark) {
    path { fill: white; }
}
</style>
<path d="M374.467 190.537C373.657 190.537 372.902 190.319 372.201 189.938L365.025 185.64C363.946 185.041 364.486 184.824 364.81 184.715C366.266 184.225 366.535 184.116 368.046 183.246C368.208 183.137 368.424 183.191 368.586 183.3L374.088 186.619C374.304 186.728 374.574 186.728 374.735 186.619L396.262 174.05C396.477 173.941 396.587 173.724 396.587 173.452V148.368C396.587 148.096 396.477 147.879 396.262 147.77L374.735 135.255C374.52 135.146 374.25 135.146 374.088 135.255L352.563 147.77C352.347 147.879 352.239 148.151 352.239 148.368V173.452C352.239 173.669 352.347 173.941 352.563 174.05L358.443 177.478C361.626 179.11 363.622 177.206 363.622 175.302V150.545C363.622 150.218 363.892 149.892 364.27 149.892H367.022C367.345 149.892 367.669 150.164 367.669 150.545V175.302C367.669 179.6 365.349 182.103 361.302 182.103C360.062 182.103 359.091 182.103 356.339 180.743L350.674 177.478C349.272 176.662 348.408 175.139 348.408 173.506V148.423C348.408 146.79 349.272 145.267 350.674 144.451L372.201 131.882C373.549 131.12 375.384 131.12 376.732 131.882L398.258 144.451C399.66 145.267 400.523 146.79 400.523 148.423V173.506C400.523 175.139 399.66 176.662 398.258 177.478L376.732 190.047C376.085 190.319 375.276 190.537 374.467 190.537Z" fill="#5FA04E"/>
<path d="M381.157 173.288C371.714 173.288 369.772 168.935 369.772 165.235C369.772 164.909 370.042 164.582 370.419 164.582H373.224C373.549 164.582 373.819 164.8 373.819 165.126C374.25 168.01 375.49 169.425 381.21 169.425C385.742 169.425 387.684 168.391 387.684 165.943C387.684 164.528 387.143 163.494 380.076 162.787C374.196 162.188 370.527 160.882 370.527 156.149C370.527 151.741 374.196 149.13 380.346 149.13C387.253 149.13 390.652 151.524 391.083 156.747C391.083 156.911 391.029 157.074 390.922 157.237C390.812 157.346 390.652 157.455 390.487 157.455H387.628C387.361 157.455 387.09 157.237 387.036 156.965C386.388 153.972 384.715 152.993 380.292 152.993C375.329 152.993 374.735 154.734 374.735 156.04C374.735 157.618 375.436 158.107 382.127 158.978C388.762 159.848 391.892 161.1 391.892 165.779C391.892 170.567 387.953 173.288 381.157 173.288Z" fill="#5FA04E"/>
<path d="M412.234 146.953C412.234 149.238 410.345 151.143 408.077 151.143C405.813 151.143 403.924 149.293 403.924 146.953C403.924 144.559 405.867 142.764 408.077 142.764C410.291 142.764 412.234 144.613 412.234 146.953ZM404.572 146.953C404.572 148.912 406.137 150.49 408.024 150.49C409.967 150.49 411.532 148.857 411.532 146.953C411.532 144.994 409.967 143.471 408.024 143.471C406.191 143.471 404.572 144.994 404.572 146.953ZM406.515 144.613H408.134C408.673 144.613 409.753 144.613 409.753 145.865C409.753 146.735 409.211 146.899 408.886 147.007C409.536 147.062 409.589 147.497 409.643 148.096C409.696 148.477 409.753 149.13 409.859 149.347H408.886C408.886 149.13 408.726 147.933 408.726 147.878C408.673 147.606 408.565 147.497 408.242 147.497H407.432V149.401H406.515V144.613ZM407.378 146.681H408.077C408.673 146.681 408.78 146.246 408.78 146.028C408.78 145.375 408.348 145.375 408.077 145.375H407.325V146.681H407.378Z" fill="#5FA04E"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M150.198 147.296C150.198 146.316 149.659 145.392 148.795 144.902L125.975 131.571C125.597 131.354 125.166 131.245 124.734 131.19C124.68 131.19 124.518 131.19 124.518 131.19C124.087 131.19 123.655 131.354 123.277 131.571L100.403 144.847C99.5395 145.337 99 146.262 99 147.296L99.0539 182.99C99.0539 183.479 99.3237 183.969 99.7553 184.186C100.187 184.459 100.726 184.459 101.104 184.186L114.699 176.351C115.563 175.862 116.102 174.937 116.102 173.957V157.253C116.102 156.274 116.641 155.349 117.505 154.859L123.277 151.486C123.709 151.213 124.194 151.105 124.68 151.105C125.166 151.105 125.651 151.213 126.029 151.486L131.801 154.859C132.664 155.349 133.204 156.274 133.204 157.253V173.957C133.204 174.937 133.744 175.862 134.607 176.351L148.094 184.186C148.526 184.459 149.065 184.459 149.497 184.186C149.928 183.969 150.198 183.479 150.198 182.99V147.296Z" fill="#333333"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M260.148 98.1632C259.716 97.9456 259.176 97.9456 258.799 98.1632C258.367 98.4353 258.098 98.8706 258.098 99.3603V134.727C258.098 135.054 257.936 135.38 257.611 135.598C257.288 135.761 256.964 135.761 256.641 135.598L250.922 132.279C250.059 131.789 249.034 131.789 248.171 132.279L225.296 145.61C224.433 146.099 223.894 147.024 223.894 148.004V174.61C223.894 175.59 224.433 176.515 225.296 177.005L248.171 190.335C249.034 190.825 250.059 190.825 250.922 190.335L273.797 177.005C274.66 176.515 275.199 175.59 275.199 174.61V108.284C275.199 107.25 274.66 106.325 273.797 105.835L260.148 98.1632ZM258.044 165.85C258.044 166.122 257.936 166.34 257.72 166.449L249.896 171.02C249.681 171.128 249.411 171.128 249.195 171.02L241.373 166.449C241.157 166.34 241.049 166.068 241.049 165.85V156.71C241.049 156.437 241.157 156.22 241.373 156.111L249.195 151.54C249.411 151.432 249.681 151.432 249.896 151.54L257.72 156.111C257.936 156.22 258.044 156.492 258.044 156.71V165.85Z" fill="#333333"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M336.268 156.492C337.132 156.002 337.617 155.077 337.617 154.097V147.622C337.617 146.643 337.078 145.718 336.268 145.229L313.555 131.952C312.692 131.463 311.668 131.463 310.804 131.952L287.93 145.283C287.066 145.773 286.527 146.698 286.527 147.677V174.284C286.527 175.263 287.066 176.188 287.93 176.678L310.642 189.737C311.506 190.226 312.53 190.226 313.339 189.737L327.097 182.01C327.529 181.793 327.798 181.303 327.798 180.813C327.798 180.324 327.529 179.834 327.097 179.616L304.115 166.285C303.683 166.014 303.414 165.578 303.414 165.089V156.764C303.414 156.274 303.683 155.784 304.115 155.567L311.29 151.431C311.722 151.159 312.261 151.159 312.692 151.431L319.868 155.567C320.299 155.839 320.569 156.274 320.569 156.764V163.293C320.569 163.783 320.838 164.272 321.271 164.49C321.702 164.762 322.242 164.762 322.673 164.49L336.268 156.492Z" fill="#333333"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M311.829 155.241C311.991 155.132 312.208 155.132 312.37 155.241L316.739 157.798C316.901 157.907 317.009 158.07 317.009 158.288V163.402C317.009 163.62 316.901 163.783 316.739 163.892L312.37 166.449C312.208 166.558 311.991 166.558 311.829 166.449L307.46 163.892C307.299 163.783 307.191 163.62 307.191 163.402V158.288C307.191 158.07 307.299 157.907 307.46 157.798L311.829 155.241Z" fill="#5FA04E"/>
<path d="M188.447 132.061C187.583 131.572 186.558 131.572 185.695 132.061L162.982 145.283C162.119 145.773 161.634 146.698 161.634 147.677V174.175C161.634 175.155 162.173 176.08 162.982 176.569L185.695 189.791C186.558 190.281 187.583 190.281 188.447 189.791L211.159 176.569C212.023 176.08 212.508 175.155 212.508 174.175V147.677C212.508 146.698 211.969 145.773 211.159 145.283L188.447 132.061Z" fill="url(#paint0_linear_1_258)"/>
<path d="M211.213 145.283L188.393 132.061C188.177 131.952 187.907 131.844 187.691 131.789L162.119 175.916C162.335 176.188 162.605 176.406 162.875 176.569L185.695 189.791C186.343 190.172 187.098 190.281 187.799 190.063L211.807 145.773C211.645 145.555 211.429 145.392 211.213 145.283Z" fill="url(#paint1_linear_1_258)"/>
<path d="M211.214 176.569C211.861 176.188 212.347 175.535 212.563 174.827L187.584 131.734C186.937 131.625 186.235 131.679 185.642 132.06L162.983 145.228L187.422 190.171C187.746 190.117 188.124 190.008 188.447 189.845L211.214 176.569Z" fill="url(#paint2_linear_1_258)"/>
<defs>
<linearGradient id="paint0_linear_1_258" x1="196.321" y1="141.908" x2="175.502" y2="184.02" gradientUnits="userSpaceOnUse">
<stop stop-color="#3F873F"/>
<stop offset="0.3296" stop-color="#3F8B3D"/>
<stop offset="0.6367" stop-color="#3E9638"/>
<stop offset="0.9341" stop-color="#3DA92E"/>
<stop offset="1" stop-color="#3DAE2B"/>
</linearGradient>
<linearGradient id="paint1_linear_1_258" x1="183.619" y1="164.02" x2="241.587" y2="121.554" gradientUnits="userSpaceOnUse">
<stop offset="0.1376" stop-color="#3F873F"/>
<stop offset="0.4016" stop-color="#52A044"/>
<stop offset="0.7129" stop-color="#64B749"/>
<stop offset="0.9081" stop-color="#6ABF4B"/>
</linearGradient>
<linearGradient id="paint2_linear_1_258" x1="160.802" y1="160.917" x2="213.358" y2="160.917" gradientUnits="userSpaceOnUse">
<stop offset="0.0919165" stop-color="#6ABF4B"/>
<stop offset="0.2871" stop-color="#64B749"/>
<stop offset="0.5984" stop-color="#52A044"/>
<stop offset="0.8624" stop-color="#3F873F"/>
</linearGradient>
</defs>
</svg>

```

--------------------------------------------------------------------------------
/product-handbook/data-export.md:
--------------------------------------------------------------------------------

```markdown
---
description: Learn more about data warehouse in Reflag
---

# Warehouse

Reflag allows you to export company adoption data in a CSV file to use in other tools or databases.  This can be done either manually or automatically, depending on your plan.

{% hint style="info" %}
Data exports are only available on Pro and Enterprise plans. Automatic data exports are only available on the Enterprise plan.&#x20;
{% endhint %}

## Getting started

* Navigate to `Settings`
* Under `Environment: [Environment Name]`, select `Data export`. &#x20;
* Under `Manual export`, select the [historical data aggregation](data-export.md#historical-data) of your choice
* Click the `Download export` button to get your CSV
* If you have access to [automatic exports](data-export.md#automatic-export), turn the `Enable automatic export` toggle to `ON` and follow the instructions below.&#x20;

## Historical data

There are 4 historical data aggregation options:

* **Just today's snapshot**: Download a snapshot of the current state of the data. The `Date` column will contain the current date.
* **30 days, daily granularity**: The file will contain data rolled up in daily increments for the last 30 days. The `Date` column will be the end of each rolled-up day data
* **3 months, weekly granularity**: The file will contain data rolled up in weekly increments for the last 3 months. A weekly increment is a full calendar week (mon-sun). The `Date` column will be the data at the end of each rolled-up interval.
* **6 months, weekly granularity**: The file will contain data rolled up in weekly increments for the last 6 months. A weekly increment is a full calendar week (mon-sun). The `Date` column will be the data at the end of each rolled-up interval.

## Automatic export

{% hint style="info" %}
Read our [AWS S3](../integrations/aws-s3.md) data export guide.
{% endhint %}

You can also schedule data exports that run on a **daily** or **weekly** cadence. If enabled, Reflag automatically generates and exports a `CSV` file for each day or week and saves it to your S3-compatible file storage provider (such as _AWS S3_, _Google Cloud Storage_, _Cloudflare R2_, and others).

* **Daily export**: Runs every day after `00:00 UTC` and exports a snapshot of the data as it was at `00:00 UTC`.&#x20;
* **Weekly export**: Runs every Monday after `00:00 UTC` and exports a snapshot of the data as it was at `00:00 UTC on Monday`.

After enabling automatic exports, fill in the required configuration details:

* **Periodic schedule**: The cadence of data export (either `daily` or `weekly`)
* **S3 Provider**: The S3-compatible cloud storage. Support is available for `AWS`, `GCP` and `Custom` which allows for the specification of a custom Endpoint value (useful for Cloudflare R2)
* **S3 bucket**: The details of the S3 bucket that will be used to store the exported data files
  * For `AWS`: Enter the S3 bucket's public URL in the following format: `https://<bucket>.s3.<region>.amazonaws.com[/key]`. The `key` component of the URL is optional. It can be used to point to a specific directory within the bucket. For more details, see the [AWS S3 setup guide](doc:aws-s3-setup-guide).
  * For `GCP` and `Custom`: The **Bucket**, **Region**, and **Key** properties need to be inserted separately in each of the input boxes on the `Settings` page.
  * For `Custom`: The **Endpoint** option becomes available. It needs to be filled with the URL of the cloud storage provider API. For instance, Cloudflare R2 will provide an individual endpoint value for each of their customers in the following format: `https://<ACCOUNT_ID>.eu.r2.cloudflarestorage.com`.
* **Access key**: The access key obtained from the cloud storage provider
* **Secret access key**: The secret access key is obtained from the cloud storage provider

After clicking `Save`, Reflag will validate that the supplied details are correct by attempting to list the files in the S3 bucket.&#x20;

If there is an error (such as misconfigured credentials, missing privileges, or misspelled names), an error message will appear.&#x20;

Reflag will run the data export the following day or the next Monday depending on the selected cadence.

Reflag records the status of the operation and displays it below the toggle. The status will show:

* When the last export ran
* The status of the last export. One of:
  * `never ran before`
  * `successful`&#x20;
  * `failed`
* When the next export will run
* In case of an error, an error message

## Company data model

The company model contains information about company adoption of all your features.

| Column             | Data type          | Format                                                           | Description                                                 |
| ------------------ | ------------------ | ---------------------------------------------------------------- | ----------------------------------------------------------- |
| Company ID         | `string`           |                                                                  | Company ID from your tracking calls                         |
| Company Name       | `string` \| `null` |                                                                  | The company's name, if sent through tracking                |
| Feature Name       | `string`           |                                                                  | Reflag feature name                                         |
| Feature ID         | `string`           |                                                                  | Reflag feature ID                                           |
| Date               | `string`           | UTC Date (ISO-8601)                                              | The date of data point                                      |
| First Seen         | `string`           | UTC Date (ISO-8601)                                              | The company's first tracking date                           |
| Last Seen          | `string`           | UTC Date (ISO-8601)                                              | The company's latest tracking date                          |
| First Used         | `string` \| `null` | UTC Date (ISO-8601)                                              | Company first feature usage                                 |
| Last Used          | `string` \| `null` | UTC Date (ISO-8601)                                              | The company's latest feature usage                          |
| STARS State Label  | `string`\| `null`  | One of the:`"never"` \| `"tried"` \| `"retained"` \| `"churned"` | Human readable value for the STARS step                     |
| STARS State        | `number`           | One of the: `1` \| `2` \| `3`\| `4`                              | The company [STARS state](broken-reference) for the feature |
| Frequency Label    | `string`           |                                                                  | Human readable label for the frequency value                |
| Frequency          | `number`           | One of: `0` \| `1` \| `2` \| `3`                                 | Company feature usage frequency. Higher means more frequent |
| Satisfaction Label | `string`           |                                                                  | Human readable label for the satisfaction score             |
| Satisfaction       | `number` \| `null` | One of: `1` \| `2` \| `3` \| `4` \| `5`                          | Company feature satisfaction score. Higher is better        |
| Feedback Count     | `number`           |                                                                  | Total number of feedbacks recorded                          |
| Segment Names      | `string`           | Comma separated list                                             | List of segment names the company is a part of              |
| Segment IDs        | `string`           | Comma separated list                                             | List of segment id's the company is a part of               |

## Articles of interest

* [GCP Hmac keys](https://cloud.google.com/storage/docs/authentication/hmackeys): Obtain Google Storage `Access key` and `Secret access key` pair
* [S3 API](https://developers.cloudflare.com/r2/api/s3/api/): Cloudflare guide for R2
* [Ingest into BigQuery](https://cloud.google.com/bigquery/docs/s3-transfer-intro): A guide on importing data into Google's BigQuery
* [Ingest into Snowflake](https://docs.snowflake.com/en/user-guide/data-load-s3) and [Automatic ingest into Snowflake](https://docs.snowflake.com/en/user-guide/data-load-snowpipe-auto-s3): These guides show you to how to import data into Snowflake.

```

--------------------------------------------------------------------------------
/.gitbook/assets/react.svg:
--------------------------------------------------------------------------------

```
<svg width="513" height="290" viewBox="0 0 513 290" fill="none" xmlns="http://www.w3.org/2000/svg">
<style>
@media (prefers-color-scheme: dark) {
    path { fill: white; }
}
</style>
<path d="M145 154.404C149.838 154.404 153.759 150.417 153.759 145.499C153.759 140.581 149.838 136.595 145 136.595C140.163 136.595 136.241 140.581 136.241 145.499C136.241 150.417 140.163 154.404 145 154.404Z" fill="#61DAFB"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M103.358 140.274C101.287 142.175 100.484 143.945 100.484 145.501C100.484 147.056 101.287 148.827 103.358 150.728C105.429 152.628 108.565 154.455 112.652 156.042C120.809 159.208 132.245 161.219 145 161.219C157.755 161.219 169.191 159.208 177.348 156.042C181.435 154.455 184.571 152.628 186.642 150.728C188.713 148.827 189.516 147.056 189.516 145.501C189.516 143.945 188.713 142.175 186.642 140.274C184.571 138.373 181.435 136.546 177.348 134.96C169.191 131.794 157.755 129.783 145 129.783C132.245 129.783 120.809 131.794 112.652 134.96C108.565 136.546 105.429 138.373 103.358 140.274ZM110.88 130.242C119.734 126.805 131.798 124.733 145 124.733C158.202 124.733 170.266 126.805 179.12 130.242C183.538 131.957 187.285 134.061 189.971 136.525C192.656 138.99 194.484 142.019 194.484 145.501C194.484 148.983 192.656 152.012 189.971 154.476C187.285 156.941 183.538 159.044 179.12 160.76C170.266 164.196 158.202 166.269 145 166.269C131.798 166.269 119.734 164.196 110.88 160.76C106.462 159.044 102.715 156.941 100.029 154.476C97.3438 152.012 95.5162 148.983 95.5162 145.501C95.5162 142.019 97.3438 138.99 100.029 136.525C102.715 134.061 106.462 131.957 110.88 130.242Z" fill="#61DAFB"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M128.631 106.225C125.976 105.352 124.066 105.531 122.741 106.308C121.416 107.086 120.309 108.678 119.725 111.452C119.142 114.226 119.153 117.9 119.845 122.292C121.227 131.056 125.231 142.129 131.609 153.359C137.987 164.589 145.418 173.651 152.193 179.249C155.588 182.054 158.713 183.902 161.368 184.775C164.022 185.648 165.932 185.469 167.257 184.692C168.582 183.914 169.689 182.322 170.273 179.548C170.856 176.774 170.845 173.1 170.153 168.708C168.772 159.944 164.767 148.871 158.389 137.641C152.012 126.411 144.58 117.349 137.805 111.751C134.41 108.946 131.285 107.098 128.631 106.225ZM140.938 107.832C148.293 113.908 156.09 123.493 162.691 135.116C169.292 146.739 173.559 158.396 175.058 167.91C175.806 172.657 175.887 177.008 175.131 180.604C174.374 184.201 172.708 187.324 169.741 189.065C166.775 190.806 163.281 190.712 159.838 189.58C156.396 188.447 152.731 186.201 149.06 183.168C141.706 177.092 133.908 167.507 127.307 155.884C120.706 144.261 116.44 132.604 114.94 123.09C114.192 118.343 114.111 113.992 114.868 110.396C115.624 106.799 117.291 103.676 120.257 101.935C123.224 100.194 126.718 100.288 130.16 101.42C133.602 102.552 137.268 104.799 140.938 107.832Z" fill="#61DAFB"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M170.278 111.451C169.695 108.677 168.588 107.085 167.263 106.308C165.938 105.53 164.028 105.351 161.373 106.224C158.718 107.097 155.594 108.945 152.199 111.75C145.423 117.348 137.992 126.41 131.614 137.64C125.237 148.87 121.232 159.944 119.851 168.708C119.159 173.099 119.147 176.774 119.731 179.547C120.314 182.321 121.421 183.913 122.746 184.691C124.072 185.469 125.981 185.647 128.636 184.774C131.291 183.901 134.416 182.054 137.81 179.249C144.586 173.651 152.017 164.588 158.395 153.358C164.772 142.129 168.777 131.055 170.158 122.291C170.85 117.9 170.862 114.225 170.278 111.451ZM175.063 123.09C173.564 132.603 169.298 144.26 162.697 155.883C156.096 167.506 148.298 177.091 140.943 183.168C137.273 186.2 133.608 188.447 130.165 189.579C126.723 190.711 123.229 190.805 120.263 189.064C117.296 187.323 115.63 184.2 114.873 180.603C114.116 177.007 114.198 172.656 114.946 167.909C116.445 158.395 120.711 146.738 127.312 135.115C133.913 123.492 141.711 113.908 149.066 107.831C152.736 104.798 156.402 102.552 159.844 101.42C163.286 100.288 166.78 100.193 169.746 101.934C172.713 103.675 174.379 106.799 175.136 110.395C175.893 113.992 175.812 118.342 175.063 123.09Z" fill="#61DAFB"/>
<path d="M417.491 174.447C413.517 174.447 410.438 173.379 408.253 171.243C406.067 169.108 404.975 166.053 404.975 162.08V125.873H412.127V161.782C412.127 163.918 412.648 165.557 413.691 166.699C414.784 167.841 416.324 168.412 418.31 168.412C420.545 168.412 422.408 167.792 423.898 166.55L426.133 171.69C425.04 172.634 423.724 173.329 422.184 173.776C420.694 174.223 419.13 174.447 417.491 174.447ZM398.27 140.4V134.515H423.451V140.4H398.27Z" fill="black"/>
<path d="M378.071 174.447C374.048 174.447 370.447 173.578 367.268 171.839C364.139 170.101 361.681 167.717 359.893 164.687C358.105 161.658 357.211 158.181 357.211 154.257C357.211 150.334 358.105 146.857 359.893 143.827C361.681 140.798 364.139 138.439 367.268 136.75C370.447 135.012 374.048 134.142 378.071 134.142C381.647 134.142 384.826 134.863 387.607 136.303C390.438 137.694 392.623 139.78 394.163 142.561L388.724 146.062C387.433 144.125 385.844 142.71 383.956 141.816C382.119 140.872 380.132 140.4 377.996 140.4C375.414 140.4 373.104 140.972 371.068 142.114C369.032 143.256 367.417 144.87 366.225 146.956C365.033 148.993 364.437 151.426 364.437 154.257C364.437 157.088 365.033 159.547 366.225 161.633C367.417 163.719 369.032 165.333 371.068 166.475C373.104 167.618 375.414 168.189 377.996 168.189C380.132 168.189 382.119 167.742 383.956 166.848C385.844 165.904 387.433 164.464 388.724 162.527L394.163 165.954C392.623 168.686 390.438 170.796 387.607 172.286C384.826 173.727 381.647 174.447 378.071 174.447Z" fill="black"/>
<path d="M340.847 174V165.656L340.474 164.091V149.862C340.474 146.832 339.58 144.498 337.792 142.859C336.054 141.17 333.422 140.326 329.895 140.326C327.561 140.326 325.276 140.723 323.041 141.518C320.806 142.263 318.919 143.281 317.379 144.572L314.399 139.208C316.436 137.569 318.869 136.328 321.7 135.483C324.581 134.589 327.586 134.142 330.715 134.142C336.128 134.142 340.3 135.459 343.231 138.091C346.161 140.723 347.626 144.746 347.626 150.16V174H340.847ZM327.884 174.447C324.953 174.447 322.371 173.95 320.136 172.957C317.95 171.964 316.262 170.598 315.07 168.859C313.878 167.071 313.282 165.06 313.282 162.825C313.282 160.689 313.778 158.752 314.772 157.014C315.815 155.276 317.479 153.885 319.763 152.842C322.098 151.799 325.227 151.277 329.15 151.277H341.666V156.418H329.448C325.872 156.418 323.463 157.014 322.222 158.206C320.98 159.398 320.359 160.838 320.359 162.527C320.359 164.464 321.129 166.028 322.669 167.22C324.208 168.363 326.344 168.934 329.076 168.934C331.758 168.934 334.092 168.338 336.079 167.146C338.115 165.954 339.58 164.216 340.474 161.931L341.89 166.848C340.946 169.182 339.282 171.045 336.898 172.435C334.514 173.776 331.509 174.447 327.884 174.447Z" fill="black"/>
<path d="M289.393 174.447C285.171 174.447 281.446 173.578 278.218 171.839C275.039 170.101 272.556 167.717 270.768 164.687C269.029 161.658 268.16 158.181 268.16 154.257C268.16 150.334 269.004 146.857 270.693 143.827C272.431 140.798 274.791 138.439 277.771 136.75C280.8 135.012 284.202 134.142 287.977 134.142C291.801 134.142 295.179 134.987 298.109 136.675C301.039 138.364 303.324 140.748 304.963 143.827C306.652 146.857 307.496 150.408 307.496 154.481C307.496 154.779 307.471 155.127 307.422 155.524C307.422 155.921 307.397 156.294 307.347 156.641H273.748V151.501H303.622L300.717 153.289C300.766 150.756 300.245 148.496 299.152 146.509C298.059 144.523 296.545 142.983 294.608 141.89C292.72 140.748 290.51 140.177 287.977 140.177C285.494 140.177 283.284 140.748 281.347 141.89C279.41 142.983 277.895 144.548 276.802 146.584C275.709 148.571 275.163 150.855 275.163 153.438V154.63C275.163 157.262 275.759 159.621 276.951 161.707C278.193 163.744 279.906 165.333 282.092 166.475C284.277 167.618 286.785 168.189 289.616 168.189C291.95 168.189 294.061 167.792 295.949 166.997C297.886 166.202 299.574 165.01 301.015 163.421L304.963 168.04C303.175 170.126 300.94 171.715 298.258 172.808C295.626 173.901 292.671 174.447 289.393 174.447Z" fill="black"/>
<path d="M218.725 174V121.85H239.063C243.633 121.85 247.532 122.57 250.76 124.011C253.988 125.451 256.472 127.537 258.21 130.268C259.948 133 260.817 136.253 260.817 140.028C260.817 143.803 259.948 147.056 258.21 149.788C256.472 152.469 253.988 154.531 250.76 155.971C247.532 157.411 243.633 158.132 239.063 158.132H222.822L226.175 154.704V174H218.725ZM253.591 174L240.33 155.077H248.301L261.711 174H253.591ZM226.175 155.45L222.822 151.799H238.84C243.608 151.799 247.209 150.781 249.642 148.745C252.126 146.659 253.367 143.753 253.367 140.028C253.367 136.303 252.126 133.422 249.642 131.386C247.209 129.35 243.608 128.331 238.84 128.331H222.822L226.175 124.606V155.45Z" fill="black"/>
</svg>

```

--------------------------------------------------------------------------------
/.gitbook/assets/openfeature.svg:
--------------------------------------------------------------------------------

```
<svg width="512" height="289" viewBox="0 0 512 289" fill="none" xmlns="http://www.w3.org/2000/svg">
<style>
@media (prefers-color-scheme: dark) {
    path { fill: white; }
}
</style>
<path d="M115.743 124H92.6085C87.1424 124 81.9022 126.132 78.0393 129.943C74.1765 133.743 72.0029 138.9 72.0029 144.283C72.0029 149.666 74.1765 154.823 78.0393 158.624C81.9022 162.424 87.1424 164.567 92.6085 164.567H115.743C121.209 164.567 126.449 162.435 130.312 158.624C134.175 154.823 136.348 149.666 136.348 144.283C136.348 138.9 134.175 133.743 130.312 129.943C126.449 126.142 121.209 124 115.743 124ZM115.829 159.216C112.827 159.216 109.889 158.344 107.404 156.697C104.907 155.06 102.96 152.724 101.819 149.989C100.668 147.255 100.367 144.251 100.958 141.355C101.539 138.459 102.992 135.8 105.112 133.711C107.231 131.622 109.932 130.201 112.88 129.62C115.829 129.039 118.874 129.34 121.65 130.47C124.426 131.601 126.793 133.517 128.461 135.972C130.129 138.427 131.022 141.312 131.022 144.273C131.022 146.243 130.635 148.181 129.871 150C129.107 151.82 127.988 153.467 126.578 154.856C125.169 156.245 123.49 157.343 121.639 158.096C119.799 158.85 117.819 159.227 115.818 159.227H115.85L115.829 159.216ZM152.51 134.594C154.651 133.388 157.083 132.785 159.547 132.839C162.172 132.807 164.766 133.485 167.025 134.788C169.274 136.09 171.104 137.985 172.308 140.268C173.632 142.798 174.299 145.618 174.234 148.471C174.289 151.335 173.632 154.167 172.308 156.707C171.125 159.033 169.295 160.971 167.036 162.327C164.776 163.684 162.184 164.373 159.547 164.33C157.104 164.384 154.694 163.77 152.575 162.575C150.691 161.52 149.099 160.023 147.969 158.204V178.283H142.826V133.345H147.969V138.965C149.067 137.135 150.638 135.627 152.521 134.594H152.51ZM167.563 142.453C166.692 140.827 165.368 139.471 163.744 138.556C162.129 137.662 160.311 137.21 158.46 137.221C156.631 137.21 154.824 137.684 153.242 138.588C151.617 139.525 150.282 140.892 149.4 142.528C148.442 144.402 147.947 146.458 147.947 148.558C147.947 150.657 148.442 152.713 149.4 154.587C150.282 156.223 151.617 157.59 153.242 158.527C154.824 159.431 156.631 159.905 158.46 159.894C160.311 159.905 162.129 159.442 163.744 158.527C165.368 157.59 166.692 156.223 167.563 154.587C168.542 152.702 169.027 150.614 168.973 148.504C169.027 146.404 168.542 144.326 167.563 142.464V142.453ZM206.87 150.463H182.132C182.132 151.744 182.401 153.015 182.907 154.199C183.413 155.383 184.166 156.449 185.102 157.343C186.038 158.236 187.147 158.936 188.373 159.399C189.589 159.862 190.891 160.077 192.193 160.034C194.162 160.099 196.11 159.571 197.756 158.505C199.219 157.515 200.317 156.083 200.887 154.414H206.418C205.632 157.289 203.878 159.808 201.447 161.563C198.757 163.458 195.496 164.427 192.182 164.319C189.417 164.362 186.684 163.673 184.274 162.338C181.96 161.046 180.067 159.13 178.818 156.815C177.462 154.253 176.785 151.389 176.849 148.504C176.785 145.629 177.441 142.776 178.764 140.214C179.981 137.91 181.853 136.004 184.155 134.734C186.609 133.42 189.363 132.764 192.15 132.817C194.872 132.764 197.563 133.42 199.94 134.712C202.146 135.918 203.964 137.727 205.17 139.912C206.418 142.216 207.053 144.789 207.01 147.395C207.01 148.428 206.977 149.462 206.87 150.485V150.463ZM200.435 141.377C199.585 140.009 198.37 138.911 196.906 138.201C195.367 137.468 193.678 137.092 191.967 137.113C189.524 137.049 187.147 137.91 185.339 139.525C183.445 141.301 182.315 143.734 182.208 146.307H201.748C201.791 144.574 201.339 142.862 200.446 141.366L200.435 141.377ZM235.847 136.144C238.182 138.394 239.344 141.624 239.344 145.844V163.802H234.265V146.566C234.265 143.53 233.501 141.204 231.952 139.589C231.134 138.771 230.144 138.136 229.047 137.716C227.959 137.296 226.787 137.113 225.625 137.178C224.43 137.124 223.236 137.318 222.117 137.748C220.998 138.179 219.997 138.836 219.158 139.686C217.522 141.355 216.726 143.788 216.748 146.975V163.845H211.604V133.345H216.748V137.684C217.77 136.123 219.201 134.874 220.901 134.066C222.709 133.205 224.688 132.764 226.69 132.785C228.368 132.71 230.036 132.979 231.607 133.55C233.178 134.131 234.62 135.003 235.836 136.144H235.847ZM267.804 125.055V129.179H250.674V142.259H264.544V146.383H250.674V163.835H245.531V125.055H267.804ZM299.88 150.463H275.132C275.132 151.744 275.401 153.015 275.907 154.199C276.423 155.383 277.166 156.449 278.102 157.343C279.037 158.236 280.146 158.936 281.373 159.399C282.588 159.862 283.89 160.077 285.193 160.034C287.162 160.099 289.109 159.571 290.756 158.505C292.219 157.515 293.317 156.083 293.887 154.414H299.417C298.632 157.289 296.889 159.808 294.446 161.563C291.756 163.458 288.496 164.427 285.193 164.319C282.438 164.362 279.716 163.695 277.316 162.37C275.003 161.079 273.109 159.162 271.871 156.847C270.526 154.285 269.849 151.421 269.924 148.536C269.859 145.661 270.516 142.808 271.839 140.246C273.055 137.942 274.928 136.037 277.23 134.766C279.683 133.453 282.438 132.796 285.225 132.85C287.947 132.796 290.637 133.453 293.015 134.745C295.221 135.961 297.04 137.759 298.244 139.945C299.482 142.249 300.117 144.822 300.074 147.427C300.074 148.45 299.998 149.473 299.88 150.485V150.463ZM293.435 141.377C292.585 140.02 291.369 138.933 289.905 138.233C288.367 137.501 286.677 137.124 284.966 137.145C282.524 137.081 280.146 137.942 278.338 139.557C276.445 141.333 275.315 143.767 275.196 146.34H294.779C294.822 144.596 294.349 142.873 293.446 141.366L293.435 141.377ZM304.615 140.268C305.819 137.996 307.649 136.09 309.898 134.788C312.168 133.474 314.761 132.807 317.386 132.839C319.851 132.785 322.293 133.377 324.445 134.562C326.307 135.574 327.856 137.081 328.911 138.9V133.345H334.108V163.813H328.911V158.139C327.824 159.991 326.253 161.52 324.37 162.564C322.229 163.759 319.797 164.362 317.333 164.319C314.718 164.351 312.146 163.662 309.898 162.338C307.659 160.971 305.841 159.033 304.647 156.718C303.334 154.177 302.678 151.346 302.732 148.493C302.656 145.64 303.312 142.819 304.625 140.278L304.615 140.268ZM327.458 142.518C326.586 140.881 325.263 139.525 323.649 138.599C322.035 137.716 320.228 137.253 318.388 137.253C316.548 137.253 314.729 137.716 313.126 138.599C311.512 139.514 310.199 140.871 309.339 142.496C308.359 144.348 307.875 146.415 307.929 148.504C307.875 150.614 308.359 152.713 309.339 154.587C310.199 156.223 311.512 157.59 313.126 158.527C314.718 159.442 316.526 159.916 318.377 159.894C320.228 159.905 322.057 159.442 323.66 158.527C325.285 157.59 326.608 156.223 327.469 154.587C328.438 152.724 328.933 150.646 328.878 148.558C328.943 146.458 328.469 144.38 327.501 142.518H327.469H327.458ZM346.859 137.511V155.469C346.805 156.029 346.859 156.6 347.02 157.138C347.181 157.676 347.461 158.182 347.817 158.613C348.451 159.227 349.57 159.528 351.152 159.528H354.929V163.813H350.302C347.439 163.813 345.288 163.167 343.857 161.864C342.426 160.562 341.715 158.43 341.715 155.437V137.511H337.712V133.345H341.704V125.658H346.848V133.334H354.929V137.501H346.859V137.511ZM386.391 133.345V163.813H381.248V159.313C380.258 160.885 378.848 162.144 377.169 162.952C375.372 163.835 373.393 164.276 371.381 164.265C369.11 164.308 366.873 163.802 364.849 162.79C362.913 161.8 361.331 160.26 360.298 158.376C359.136 156.158 358.577 153.693 358.663 151.206V133.345H363.719V150.528C363.719 153.531 364.494 155.835 366.033 157.45C366.851 158.269 367.841 158.904 368.928 159.324C370.014 159.744 371.187 159.927 372.35 159.862C373.554 159.927 374.76 159.733 375.889 159.302C377.019 158.871 378.031 158.204 378.88 157.353C380.452 155.695 381.248 153.262 381.248 150.065V133.345H386.369H386.391ZM401.896 134.217C403.769 133.205 405.889 132.699 408.019 132.774V137.996H406.663C400.896 137.996 398.012 141.075 398.012 147.223V163.792H392.868V133.345H397.98V138.297C398.84 136.596 400.197 135.175 401.875 134.228L401.896 134.217ZM439.815 150.463H415.078C415.078 151.744 415.336 153.015 415.853 154.199C416.358 155.383 417.111 156.449 418.047 157.343C418.983 158.236 420.092 158.936 421.318 159.399C422.534 159.862 423.836 160.077 425.139 160.034C427.108 160.11 429.055 159.571 430.701 158.505C432.176 157.515 433.273 156.083 433.832 154.414H439.374C438.589 157.278 436.835 159.797 434.403 161.563C431.702 163.458 428.453 164.427 425.139 164.319C422.384 164.362 419.672 163.695 417.262 162.37C414.948 161.079 413.055 159.162 411.817 156.847C410.45 154.285 409.773 151.421 409.837 148.536C409.773 145.661 410.44 142.808 411.764 140.246C412.979 137.942 414.852 136.037 417.154 134.766C419.597 133.453 422.351 132.796 425.139 132.85C427.86 132.796 430.551 133.453 432.939 134.745C435.145 135.95 436.953 137.759 438.158 139.945C439.406 142.249 440.041 144.822 439.998 147.427C439.998 148.45 439.933 149.473 439.826 150.485L439.815 150.463ZM433.38 141.377C432.53 140.009 431.282 138.922 429.819 138.233C428.291 137.501 426.623 137.135 424.923 137.145C422.481 137.081 420.102 137.942 418.284 139.557C416.391 141.333 415.26 143.767 415.153 146.34H434.736C434.768 144.596 434.306 142.873 433.391 141.366L433.38 141.377Z" fill="black"/>
</svg>

```

--------------------------------------------------------------------------------
/.gitbook/assets/segment.svg:
--------------------------------------------------------------------------------

```
<svg width="512" height="290" viewBox="0 0 512 290" fill="none" xmlns="http://www.w3.org/2000/svg">
<style>
@media (prefers-color-scheme: dark) {
    path { fill: white; }
}
</style>
<path d="M149.125 138.981H107.839C106.262 138.981 104.974 137.703 104.974 136.191V131.366C104.974 129.828 106.288 128.576 107.839 128.576H149.387C150.964 128.576 152.252 129.854 152.252 131.366V136.191C151.989 137.729 150.675 138.981 149.125 138.981Z" fill="#6ADDB2"/>
<path d="M76.3029 159.842C74.7261 159.842 73.4121 158.538 73.4121 156.974V152.019C73.4121 150.715 74.7261 149.412 76.3029 149.412H117.983C119.56 149.412 120.874 150.715 120.874 152.28V157.235C120.611 158.538 119.297 159.842 117.72 159.842H76.3029Z" fill="#6ADDB2"/>
<path d="M89.0486 178.096C91.9394 178.096 94.3046 175.749 94.3046 172.881C94.3046 170.012 91.9394 167.665 89.0486 167.665C86.1578 167.665 83.7926 170.012 83.7926 172.881C83.7926 175.749 86.1578 178.096 89.0486 178.096Z" fill="#6ADDB2"/>
<path d="M136.353 120.727C139.243 120.727 141.609 118.38 141.609 115.512C141.609 112.643 139.243 110.296 136.353 110.296C133.462 110.296 131.097 112.643 131.097 115.512C131.097 118.38 133.462 120.727 136.353 120.727Z" fill="#6ADDB2"/>
<path d="M112.701 175.488C109.81 175.488 106.919 174.967 104.291 174.185C102.977 173.924 101.663 174.445 101.137 175.749L99.2978 180.704C98.7722 182.008 99.5606 183.572 101.137 184.094C104.817 185.398 108.759 185.919 112.701 185.919C129.783 185.919 144.499 175.749 151.069 161.146C151.595 159.842 151.069 158.017 149.493 157.495L144.499 155.67C143.185 155.148 141.871 155.67 141.346 156.974C136.353 167.926 125.578 175.488 112.701 175.488Z" fill="#6ADDB2"/>
<path d="M112.701 112.904C115.591 112.904 118.482 113.425 121.11 114.208C122.424 114.468 123.738 113.947 124.264 112.643L126.103 107.688C126.629 106.385 125.841 104.82 124.264 104.298C120.585 102.995 116.643 102.473 112.701 102.473C95.6187 102.473 80.9019 112.643 74.3319 127.246C73.8063 128.55 74.3319 130.375 75.9087 130.897L80.9019 132.722C82.2159 133.244 83.5299 132.722 84.0555 131.418C89.0487 120.466 99.8235 112.904 112.701 112.904Z" fill="#6ADDB2"/>
<path d="M185.128 178.122V172.568C189.438 176.792 194.405 179.009 199.714 179.009C204.208 179.009 206.783 176.871 206.783 173.507C206.783 169.282 202.683 168.813 197.979 168.291C191.909 167.587 184.603 166.674 184.603 158.799C184.603 152.202 190.043 148.368 197.217 148.368C204.391 148.368 208.596 150.741 211.461 152.932V158.434C207.782 154.601 202.946 152.697 197.401 152.645C192.382 152.645 189.937 154.966 189.937 158.33C189.937 162.215 194.195 162.789 198.925 163.311C205.048 164.015 212.249 165.058 212.249 173.089C212.249 179.296 207.466 183.39 199.976 183.39C192.487 183.39 188.597 181.069 185.155 178.122H185.128Z" fill="#121C2D"/>
<path d="M216.717 165.501C216.717 154.888 223.366 148.342 232.59 148.342C241.289 148.342 247.543 153.61 247.543 164.614V167.222H222.209C222.682 175.567 228.333 178.878 236.059 178.878C241.21 178.878 244.521 177.027 246.86 175.123V180C244.994 181.46 241.551 183.416 235.113 183.416C223.681 183.416 216.717 177.157 216.717 166.335V165.501ZM222.262 163.18H242.051C241.709 156.113 238.188 152.645 232.537 152.645C226.887 152.645 223.024 156.061 222.262 163.18Z" fill="#121C2D"/>
<path d="M250.828 189.022C250.828 185.267 253.745 182.529 260.578 182.06C260.631 182.06 260.683 182.008 260.683 181.956C260.683 181.903 260.631 181.851 260.578 181.851C254.56 181.851 252.352 180.391 252.352 177.496C252.352 174.837 255.164 172.333 261.997 172.281C262.05 172.281 262.102 172.229 262.102 172.177C262.102 172.125 262.05 172.072 261.997 172.072C256.032 171.212 252.536 167.04 252.536 160.729C252.536 153.323 258.265 148.395 266.675 148.395C270.591 148.395 272.457 148.968 274.953 148.968H283.994V153.375H277.056C279.263 154.94 280.682 157.939 280.682 161.25C280.682 167.744 275.61 172.959 266.964 172.959H264.862C260.184 172.959 257.74 173.95 257.74 175.671C257.74 177.522 259.369 177.809 265.571 177.809H271.826C279.815 177.809 283.862 179.843 283.862 185.632C283.862 191.421 278.843 196.011 266.228 196.011H265.414C254.271 196.011 250.881 193.221 250.881 189.048L250.828 189.022ZM278.501 186.415C278.501 183.285 275.926 182.477 270.67 182.477H265.125C258.476 182.477 256.189 184.85 256.189 187.588C256.189 190.092 258.712 191.813 265.887 191.813H266.517C275.269 191.813 278.475 189.726 278.475 186.415H278.501ZM275.4 160.859C275.4 155.983 272.299 152.176 266.649 152.176C260.999 152.176 257.845 155.54 257.845 160.859C257.845 165.501 260.946 169.021 266.649 169.021C272.352 169.021 275.4 165.501 275.4 160.859Z" fill="#121C2D"/>
<path d="M288.566 148.942H293.927V160.416C294.926 152.071 298.71 148.368 305.307 148.368C312.718 148.368 316.581 152.645 317.212 159.999C318.21 152.228 322.047 148.368 328.643 148.368C336.711 148.368 340.732 153.688 340.732 162.606V182.816H335.292V163.65C335.292 157.156 332.717 152.802 326.541 152.802C321.232 152.802 317.317 156.87 317.369 164.093V182.816H311.929V163.232C311.929 157.026 309.301 152.802 303.178 152.802C297.975 152.802 293.954 156.87 293.954 164.745V182.816H288.514V148.916L288.566 148.942Z" fill="#121C2D"/>
<path d="M346.303 165.501C346.303 154.888 352.952 148.342 362.177 148.342C370.875 148.342 377.13 153.61 377.13 164.614V167.222H351.796C352.269 175.567 357.919 178.878 365.646 178.878C370.796 178.878 374.108 177.027 376.447 175.123V180C374.581 181.46 371.138 183.416 364.699 183.416C353.268 183.416 346.303 177.157 346.303 166.335V165.501ZM351.849 163.18H371.637C371.296 156.113 367.774 152.645 362.124 152.645C356.474 152.645 352.611 156.061 351.849 163.18Z" fill="#121C2D"/>
<path d="M388.246 148.942V160.364C389.403 151.785 393.792 148.368 400.283 148.368C409.034 148.368 413.239 153.766 413.239 162.972V182.842H407.799V164.067C407.799 157.182 405.066 152.828 398.285 152.828C392.609 152.828 388.299 157.104 388.299 165.345V182.842H382.859V148.942H388.246Z" fill="#121C2D"/>
<path d="M422.41 172.568V153.323H416.235V149.438L418.101 149.385C421.648 149.203 422.778 147.873 423.067 143.596L423.251 141.093H427.85V148.916H439.466V153.323H427.85V172.385C427.85 176.792 429.9 178.748 433.921 178.748C436.023 178.748 438.126 178.279 439.466 177.418V181.643C438.126 182.503 435.734 183.259 432.397 183.259C425.511 183.259 422.41 179.948 422.41 172.542V172.568Z" fill="#121C2D"/>
<path d="M213.484 133.087L206.126 107.193V114.051C206.126 114.416 205.889 114.651 205.522 114.651H200.686V121.874C200.686 124.456 201.343 125.212 203.419 125.212C204.208 125.212 204.97 125.16 205.653 124.847C206.179 124.586 206.573 124.795 206.573 125.212V132.488C206.573 132.905 206.415 133.166 206.021 133.348C204.681 133.974 202.131 134.365 199.03 134.365C191.015 134.365 188.387 130.61 188.387 123.987V114.625H184.419C184.051 114.625 183.788 114.364 183.788 113.999V106.306C183.788 105.941 184.051 105.681 184.419 105.681H187.073C188.15 105.681 188.729 105.211 188.729 104.142V99.8133C188.729 99.4482 188.939 99.1353 189.307 99.031L199.582 95.7453C200.108 95.5888 200.423 95.7974 200.423 96.2668V105.42H216.769C217.137 105.42 217.348 105.576 217.453 105.994L219.844 118.432L222.236 105.994C222.288 105.628 222.551 105.42 222.919 105.42H233.878C234.246 105.42 234.508 105.628 234.561 105.994L237.031 118.432L239.475 105.994C239.58 105.576 239.791 105.42 240.159 105.42H261.734C262.102 105.42 262.365 105.681 262.365 106.046V132.957C262.365 133.322 262.102 133.583 261.734 133.583H250.644C250.276 133.583 250.014 133.322 250.014 132.957V107.193L242.971 133.087C242.865 133.452 242.603 133.609 242.182 133.609H232.117C231.749 133.609 231.591 133.452 231.486 133.087L228.254 120.857L224.916 133.087C224.811 133.452 224.653 133.609 224.285 133.609H214.22C213.8 133.609 213.537 133.452 213.432 133.087H213.484ZM250.014 102.395C250.014 102.76 250.276 103.021 250.644 103.021H261.734C262.102 103.021 262.365 102.76 262.365 102.395V96.319C262.365 95.9539 262.102 95.6931 261.734 95.6931H250.644C250.276 95.6931 250.014 95.9539 250.014 96.319V102.421V102.395ZM264.809 132.983C264.809 133.348 265.072 133.609 265.44 133.609H276.53C276.898 133.609 277.161 133.348 277.161 132.983V96.319C277.161 95.9539 276.898 95.6931 276.53 95.6931H265.44C265.072 95.6931 264.809 95.9539 264.809 96.319V133.009V132.983ZM279.605 132.983C279.605 133.348 279.868 133.609 280.236 133.609H291.299C291.667 133.609 291.93 133.348 291.93 132.983V106.098C291.93 105.733 291.667 105.472 291.299 105.472H280.236C279.868 105.472 279.605 105.733 279.605 106.098V133.009V132.983ZM279.605 102.395C279.605 102.76 279.868 103.021 280.236 103.021H291.299C291.667 103.021 291.93 102.76 291.93 102.395V96.319C291.93 95.9539 291.667 95.6931 291.299 95.6931H280.236C279.868 95.6931 279.605 95.9539 279.605 96.319V102.421V102.395ZM325.7 119.11V119.788C325.7 128.159 319.288 134.469 309.801 134.469C300.313 134.469 293.849 128.159 293.849 119.788V119.11C293.849 110.74 300.34 104.611 309.801 104.611C319.261 104.611 325.7 110.74 325.7 119.11ZM313.874 119.293C313.874 115.433 312.087 113.921 309.801 113.921C307.514 113.921 305.727 115.433 305.727 119.293V119.788C305.727 123.595 307.514 125.186 309.801 125.186C312.087 125.186 313.874 123.595 313.874 119.788V119.293Z" fill="#121C2D"/>
</svg>

```

