<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3735],{18830:function(n,e,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/destinations/launchdarkly",function(){return s(97379)}])},97379:function(n,e,s){"use strict";s.r(e),s.d(e,{__N_SSG:function(){return c},lastUpdatedDate:function(){return d}});var t=s(85893),r=s(11151),o=s(6864);s(47977);function i(n,e){if(null==n)return{};var s,t,r=function(n,e){if(null==n)return{};var s,t,r={},o=Object.keys(n);for(t=0;t&lt;o.length;t++)s=o[t],e.indexOf(s)&gt;=0||(r[s]=n[s]);return r}(n,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);for(t=0;t&lt;o.length;t++)s=o[t],e.indexOf(s)&gt;=0||Object.prototype.propertyIsEnumerable.call(n,s)&amp;&amp;(r[s]=n[s])}return r}var c=!0,d=new Date(169776e7),h=function(n){var e=n.children,s=i(n,["children"]);return(0,t.jsx)(o.W,Object.assign({},s,{children:e}))};function l(n,e){throw new Error("Expected "+(e?"component":"object")+" `"+n+"` to be defined: you likely forgot to import, pass, or provide it.")}e.default=function(){var n=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:{},e=function(){var e=Object.assign({h2:"h2",table:"table",thead:"thead",tr:"tr",th:"th",tbody:"tbody",td:"td",strong:"strong",a:"a",p:"p",ul:"ul",li:"li",h4:"h4",ol:"ol",img:"img",h3:"h3"},(0,r.ah)(),n.components),s=e.NoCommonErrors,o=e.LiveDebugger,i=e.SyncAlerts;return o||l("LiveDebugger",!0),s||l("NoCommonErrors",!0),i||l("SyncAlerts",!0),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(e.h2,{id:"supported-syncing",children:"Supported syncing"}),"\n",(0,t.jsxs)(e.table,{children:[(0,t.jsx)(e.thead,{children:(0,t.jsxs)(e.tr,{children:[(0,t.jsx)(e.th,{children:"Type"}),(0,t.jsx)(e.th,{children:"Description"}),(0,t.jsx)(e.th,{children:"Supported Sync Modes"}),(0,t.jsx)(e.th,{children:"API Reference"})]})}),(0,t.jsxs)(e.tbody,{children:[(0,t.jsxs)(e.tr,{children:[(0,t.jsx)(e.td,{children:(0,t.jsx)(e.strong,{children:"Segment rules"})}),(0,t.jsx)(e.td,{children:"Update inclusion or exclusion rules in an existing segment"}),(0,t.jsx)(e.td,{children:"Add, Remove"}),(0,t.jsx)(e.td,{children:(0,t.jsx)(e.a,{href:"https://apidocs.launchdarkly.com/tag/Segments",children:"Segments docs"})})]}),(0,t.jsxs)(e.tr,{children:[(0,t.jsx)(e.td,{children:(0,t.jsx)(e.strong,{children:"Synced segments"})}),(0,t.jsx)(e.td,{children:"Sync a full segment, or set of contexts, to LaunchDarkly"}),(0,t.jsx)(e.td,{children:"Add, Remove"}),(0,t.jsx)(e.td,{children:(0,t.jsx)(e.a,{href:"https://docs.launchdarkly.com/guides/integrations/build-synced-segments",children:"Synced segments docs"})})]})]})]}),"\n",(0,t.jsxs)(e.p,{children:["For more information about sync modes, refer to the ",(0,t.jsx)(e.a,{href:"/syncs/types-and-modes#sync-modes",children:"sync modes"})," docs."]}),"\n",(0,t.jsx)(e.h2,{id:"connect-to-launchdarkly",children:"Connect to LaunchDarkly"}),"\n",(0,t.jsxs)(e.p,{children:["Go to the ",(0,t.jsxs)(e.a,{href:"https://app.hightouch.com/destinations",children:[(0,t.jsx)(e.strong,{children:"Destinations"})," overview page"]})," and click the ",(0,t.jsx)(e.strong,{children:"Add destination"})," button. Select ",(0,t.jsx)(e.strong,{children:"LaunchDarkly"})," and click ",(0,t.jsx)(e.strong,{children:"Continue"}),". You can then authenticate Hightouch to ",(0,t.jsx)(e.strong,{children:"LaunchDarkly"}),"."]}),"\n",(0,t.jsx)(e.p,{children:"Enter the following required fields into Hightouch:"}),"\n",(0,t.jsxs)(e.ul,{children:["\n",(0,t.jsx)(e.li,{children:(0,t.jsx)(e.strong,{children:"Access Token"})}),"\n"]}),"\n",(0,t.jsx)(e.h4,{id:"create-an-access-token",children:"Create an access token"}),"\n",(0,t.jsxs)(e.ol,{children:["\n",(0,t.jsx)(e.li,{children:"Log in to LaunchDarkly"}),"\n",(0,t.jsxs)(e.li,{children:["Visit your ",(0,t.jsx)(e.strong,{children:"Account settings"})," page"]}),"\n",(0,t.jsxs)(e.li,{children:["Click on the ",(0,t.jsx)(e.strong,{children:"Authorization"})," tab"]}),"\n",(0,t.jsxs)(e.li,{children:["Click on ",(0,t.jsx)(e.strong,{children:"Create token"})]}),"\n",(0,t.jsxs)(e.li,{children:["Give your token a name and assign it the ",(0,t.jsx)(e.strong,{children:"Writer"})," role"]}),"\n",(0,t.jsxs)(e.li,{children:["Click ",(0,t.jsx)(e.strong,{children:"Save token"})," and copy the new token that appears in the ",(0,t.jsx)(e.strong,{children:"Authorization"})," page"]}),"\n"]}),"\n",(0,t.jsx)(e.p,{children:(0,t.jsx)(e.img,{src:"destinations/destination-launchdarkly-access-token.png",alt:""})}),"\n",(0,t.jsx)(e.h2,{id:"sync-configuration",children:"Sync configuration"}),"\n",(0,t.jsxs)(e.p,{children:["Once you've set up your LaunchDarkly destination and have a ",(0,t.jsx)(e.a,{href:"/getting-started/concepts#models",children:"model"})," to pull data from, you can set up your sync configuration to begin syncing data. Go to the ",(0,t.jsxs)(e.a,{href:"https://app.hightouch.com/syncs",children:[(0,t.jsx)(e.strong,{children:"Syncs"})," overview page"]})," and click the ",(0,t.jsx)(e.strong,{children:"Add sync"})," button to begin. Then, select the relevant model and the LaunchDarkly destination you want to sync to."]}),"\n",(0,t.jsx)(e.h3,{id:"syncing-segment-rules",children:"Syncing segment rules"}),"\n",(0,t.jsx)(e.p,{children:"Sync data from any source to LaunchDarkly segments by updating inclusion or exclusion rules for an existing segment."}),"\n",(0,t.jsx)(e.p,{children:"Hightouch can sync data to a LaunchDarkly segment in three ways:"}),"\n",(0,t.jsxs)(e.ol,{children:["\n",(0,t.jsx)(e.li,{children:"Target users for inclusion"}),"\n",(0,t.jsx)(e.li,{children:"Target users for exclusion"}),"\n",(0,t.jsx)(e.li,{children:"Target users who match a custom rule"}),"\n"]}),"\n",(0,t.jsx)(e.h4,{id:"record-matching",children:"Record matching"}),"\n",(0,t.jsxs)(e.p,{children:["You can match rows from your model to a segment in LaunchDarkly on any column in your model and any field in LaunchDarkly. Ensure the data types of the model column and LaunchDarkly field you select match.\nRefer to the ",(0,t.jsx)(e.a,{href:"/syncs/record-matching",children:"record matching docs"})," for more information."]}),"\n",(0,t.jsx)(e.h4,{id:"targeting-users-for-inclusion-or-exclusion",children:"Targeting users for inclusion or exclusion"}),"\n",(0,t.jsx)(e.p,{children:"The most common way of using our LaunchDarkly destination is to sync a model containing a list of user IDs for inclusion or exclusion in a particular segment."}),"\n",(0,t.jsx)(e.h4,{id:"targeting-users-who-match-a-custom-rule",children:"Targeting users who match a custom rule"}),"\n",(0,t.jsx)(e.p,{children:"Hightouch can also sync your data into a LaunchDarkly rule clause."}),"\n",(0,t.jsx)(e.h3,{id:"syncing-synced-segments",children:"Syncing synced segments"}),"\n",(0,t.jsx)(e.p,{children:"Hightouch can directly sync a segment or set of contexts to LaunchDarkly."}),"\n",(0,t.jsx)(e.h4,{id:"record-matching-1",children:"Record matching"}),"\n",(0,t.jsxs)(e.p,{children:["To match rows from your model to a synced segment in LaunchDarkly, you need to select the model column that contains values that match the ",(0,t.jsx)(e.strong,{children:"id"})," field.\nRefer to the ",(0,t.jsx)(e.a,{href:"/syncs/record-matching",children:"record matching docs"})," for more information.\nUsers removed from the model get removed from the segment."]}),"\n",(0,t.jsx)(e.h2,{id:"tips-and-troubleshooting",children:"Tips and troubleshooting"}),"\n",(0,t.jsx)(e.h3,{id:"common-errors",children:"Common errors"}),"\n",(0,t.jsx)(s,{}),"\n",(0,t.jsx)(e.h3,{id:"live-debugger",children:"Live debugger"}),"\n",(0,t.jsx)(o,{}),"\n",(0,t.jsx)(e.h3,{id:"sync-alerts",children:"Sync alerts"}),"\n",(0,t.jsx)(i,{})]})};return h?(0,t.jsx)(h,Object.assign({},n,{children:(0,t.jsx)(e,{})})):e()}}},function(n){n.O(0,[9774,2888,179],(function(){return e=18830,n(n.s=e);var e}));var e=n.O();_N_E=e}]);
//# sourceMappingURL=launchdarkly-baa1ad43c4e51f4f.js.map</pre></body></html>