[{"data":1,"prerenderedAt":543},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fconnections\u002Fsalesforce":3},{"page":4,"navigation":459,"surround":540},{"_path":5,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":9,"description":10,"body":11,"_type":453,"_id":454,"_source":455,"_file":456,"_stem":457,"_extension":458},"\u002Fdocs\u002Fconnections\u002Fsalesforce","connections",false,"","Salesforce","Connect a Salesforce production or sandbox org, and choose which objects to sync.",{"type":12,"children":13,"toc":440},"root",[14,23,29,36,41,161,167,187,193,221,227,232,238,285,305,311,376,402,408],{"type":15,"tag":16,"props":17,"children":19},"element","h2",{"id":18},"choose-how-to-sign-in",[20],{"type":21,"value":22},"text","Choose how to sign in",{"type":15,"tag":24,"props":25,"children":26},"p",{},[27],{"type":21,"value":28},"The connection form offers several ways to authenticate. Use whichever your Salesforce admin prefers.",{"type":15,"tag":30,"props":31,"children":33},"h3",{"id":32},"username-and-security-token",[34],{"type":21,"value":35},"Username and security token",{"type":15,"tag":24,"props":37,"children":38},{},[39],{"type":21,"value":40},"The simplest option. You need:",{"type":15,"tag":42,"props":43,"children":44},"table",{},[45,64],{"type":15,"tag":46,"props":47,"children":48},"thead",{},[49],{"type":15,"tag":50,"props":51,"children":52},"tr",{},[53,59],{"type":15,"tag":54,"props":55,"children":56},"th",{},[57],{"type":21,"value":58},"Field",{"type":15,"tag":54,"props":60,"children":61},{},[62],{"type":21,"value":63},"Notes",{"type":15,"tag":65,"props":66,"children":67},"tbody",{},[68,82,93,106,128,141],{"type":15,"tag":50,"props":69,"children":70},{},[71,77],{"type":15,"tag":72,"props":73,"children":74},"td",{},[75],{"type":21,"value":76},"Username",{"type":15,"tag":72,"props":78,"children":79},{},[80],{"type":21,"value":81},"The Salesforce user Datachef reads as. Datachef can see whatever this user can see.",{"type":15,"tag":50,"props":83,"children":84},{},[85,90],{"type":15,"tag":72,"props":86,"children":87},{},[88],{"type":21,"value":89},"Password",{"type":15,"tag":72,"props":91,"children":92},{},[],{"type":15,"tag":50,"props":94,"children":95},{},[96,101],{"type":15,"tag":72,"props":97,"children":98},{},[99],{"type":21,"value":100},"Security token",{"type":15,"tag":72,"props":102,"children":103},{},[104],{"type":21,"value":105},"Salesforce emails this to you when you reset it under your personal settings.",{"type":15,"tag":50,"props":107,"children":108},{},[109,114],{"type":15,"tag":72,"props":110,"children":111},{},[112],{"type":21,"value":113},"This is a sandbox org",{"type":15,"tag":72,"props":115,"children":116},{},[117,119,126],{"type":21,"value":118},"Tick for a sandbox. Sign-in then goes to ",{"type":15,"tag":120,"props":121,"children":123},"code",{"className":122},[],[124],{"type":21,"value":125},"test.salesforce.com",{"type":21,"value":127},".",{"type":15,"tag":50,"props":129,"children":130},{},[131,136],{"type":15,"tag":72,"props":132,"children":133},{},[134],{"type":21,"value":135},"Login URL",{"type":15,"tag":72,"props":137,"children":138},{},[139],{"type":21,"value":140},"Optional. Your My Domain URL, if your org requires it.",{"type":15,"tag":50,"props":142,"children":143},{},[144,149],{"type":15,"tag":72,"props":145,"children":146},{},[147],{"type":21,"value":148},"API version",{"type":15,"tag":72,"props":150,"children":151},{},[152,154,160],{"type":21,"value":153},"Defaults to ",{"type":15,"tag":120,"props":155,"children":157},{"className":156},[],[158],{"type":21,"value":159},"v61.0",{"type":21,"value":127},{"type":15,"tag":30,"props":162,"children":164},{"id":163},"consumer-key-and-secret",[165],{"type":21,"value":166},"Consumer key and secret",{"type":15,"tag":24,"props":168,"children":169},{},[170,172,178,180,185],{"type":21,"value":171},"Signs in through a connected app that you create in Salesforce. Fill in the username, password, the connected app's ",{"type":15,"tag":173,"props":174,"children":175},"strong",{},[176],{"type":21,"value":177},"consumer key",{"type":21,"value":179}," and ",{"type":15,"tag":173,"props":181,"children":182},{},[183],{"type":21,"value":184},"consumer secret",{"type":21,"value":186},", and the security token. You can leave the security token blank only if the org trusts the IP address Datachef connects from.",{"type":15,"tag":30,"props":188,"children":190},{"id":189},"connected-app-refresh-token",[191],{"type":21,"value":192},"Connected app refresh token",{"type":15,"tag":24,"props":194,"children":195},{},[196,198,203,205,209,210,214,215,220],{"type":21,"value":197},"For orgs that issue a refresh token to a connected app. You need the ",{"type":15,"tag":173,"props":199,"children":200},{},[201],{"type":21,"value":202},"Instance URL",{"type":21,"value":204},", ",{"type":15,"tag":173,"props":206,"children":207},{},[208],{"type":21,"value":177},{"type":21,"value":204},{"type":15,"tag":173,"props":211,"children":212},{},[213],{"type":21,"value":184},{"type":21,"value":179},{"type":15,"tag":173,"props":216,"children":217},{},[218],{"type":21,"value":219},"refresh token",{"type":21,"value":127},{"type":15,"tag":30,"props":222,"children":224},{"id":223},"use-a-dedicated-integration-user",[225],{"type":21,"value":226},"Use a dedicated integration user",{"type":15,"tag":24,"props":228,"children":229},{},[230],{"type":21,"value":231},"Whichever method you choose, we recommend a dedicated, read-only integration user, rather than a person's own login. Its permissions decide which objects and fields Datachef can sync, and it won't break when someone leaves or changes their password.",{"type":15,"tag":16,"props":233,"children":235},{"id":234},"choose-objects",[236],{"type":21,"value":237},"Choose objects",{"type":15,"tag":24,"props":239,"children":240},{},[241,243,249,250,256,257,263,264,270,271,277,278,284],{"type":21,"value":242},"After the connection is saved, every object the user can query is listed. History, Share, Feed, ChangeEvent and Tag objects are left out. Turn on the objects you need, such as ",{"type":15,"tag":120,"props":244,"children":246},{"className":245},[],[247],{"type":21,"value":248},"Account",{"type":21,"value":204},{"type":15,"tag":120,"props":251,"children":253},{"className":252},[],[254],{"type":21,"value":255},"Contact",{"type":21,"value":204},{"type":15,"tag":120,"props":258,"children":260},{"className":259},[],[261],{"type":21,"value":262},"Lead",{"type":21,"value":204},{"type":15,"tag":120,"props":265,"children":267},{"className":266},[],[268],{"type":21,"value":269},"Opportunity",{"type":21,"value":204},{"type":15,"tag":120,"props":272,"children":274},{"className":273},[],[275],{"type":21,"value":276},"Campaign",{"type":21,"value":179},{"type":15,"tag":120,"props":279,"children":281},{"className":280},[],[282],{"type":21,"value":283},"CampaignMember",{"type":21,"value":127},{"type":15,"tag":24,"props":286,"children":287},{},[288,290,296,298,304],{"type":21,"value":289},"Each object is queried as ",{"type":15,"tag":120,"props":291,"children":293},{"className":292},[],[294],{"type":21,"value":295},"\u003Cconnection name>.\u003Cobject>",{"type":21,"value":297},", for example ",{"type":15,"tag":120,"props":299,"children":301},{"className":300},[],[302],{"type":21,"value":303},"salesforce.opportunity",{"type":21,"value":127},{"type":15,"tag":16,"props":306,"children":308},{"id":307},"recommended-sync-settings",[309],{"type":21,"value":310},"Recommended sync settings",{"type":15,"tag":42,"props":312,"children":313},{},[314,330],{"type":15,"tag":46,"props":315,"children":316},{},[317],{"type":15,"tag":50,"props":318,"children":319},{},[320,325],{"type":15,"tag":54,"props":321,"children":322},{},[323],{"type":21,"value":324},"Setting",{"type":15,"tag":54,"props":326,"children":327},{},[328],{"type":21,"value":329},"Recommendation",{"type":15,"tag":65,"props":331,"children":332},{},[333,346,363],{"type":15,"tag":50,"props":334,"children":335},{},[336,341],{"type":15,"tag":72,"props":337,"children":338},{},[339],{"type":21,"value":340},"Mode",{"type":15,"tag":72,"props":342,"children":343},{},[344],{"type":21,"value":345},"Incremental",{"type":15,"tag":50,"props":347,"children":348},{},[349,354],{"type":15,"tag":72,"props":350,"children":351},{},[352],{"type":21,"value":353},"Cursor column",{"type":15,"tag":72,"props":355,"children":356},{},[357],{"type":15,"tag":120,"props":358,"children":360},{"className":359},[],[361],{"type":21,"value":362},"SystemModstamp",{"type":15,"tag":50,"props":364,"children":365},{},[366,371],{"type":15,"tag":72,"props":367,"children":368},{},[369],{"type":21,"value":370},"Schedule",{"type":15,"tag":72,"props":372,"children":373},{},[374],{"type":21,"value":375},"Hourly",{"type":15,"tag":24,"props":377,"children":378},{},[379,384,386,392,394,401],{"type":15,"tag":120,"props":380,"children":382},{"className":381},[],[383],{"type":21,"value":362},{"type":21,"value":385}," changes whenever Salesforce changes a record, including changes made by the system, so it catches updates that ",{"type":15,"tag":120,"props":387,"children":389},{"className":388},[],[390],{"type":21,"value":391},"LastModifiedDate",{"type":21,"value":393}," misses. See ",{"type":15,"tag":395,"props":396,"children":398},"a",{"href":397},"\u002Fdocs\u002Fconnections\u002Fsync-settings",[399],{"type":21,"value":400},"sync settings",{"type":21,"value":127},{"type":15,"tag":16,"props":403,"children":405},{"id":404},"sandboxes",[406],{"type":21,"value":407},"Sandboxes",{"type":15,"tag":24,"props":409,"children":410},{},[411,413,417,419,425,427,433,434,439],{"type":21,"value":412},"Add a sandbox as its own connection with ",{"type":15,"tag":173,"props":414,"children":415},{},[416],{"type":21,"value":113},{"type":21,"value":418}," ticked, and give it its own name, such as ",{"type":15,"tag":120,"props":420,"children":422},{"className":421},[],[423],{"type":21,"value":424},"salesforce_sandbox",{"type":21,"value":426},". Its tables sit next to production's: ",{"type":15,"tag":120,"props":428,"children":430},{"className":429},[],[431],{"type":21,"value":432},"salesforce_sandbox.opportunity",{"type":21,"value":179},{"type":15,"tag":120,"props":435,"children":437},{"className":436},[],[438],{"type":21,"value":303},{"type":21,"value":127},{"title":8,"searchDepth":441,"depth":441,"links":442},2,[443,450,451,452],{"id":18,"depth":441,"text":22,"children":444},[445,447,448,449],{"id":32,"depth":446,"text":35},3,{"id":163,"depth":446,"text":166},{"id":189,"depth":446,"text":192},{"id":223,"depth":446,"text":226},{"id":234,"depth":441,"text":237},{"id":307,"depth":441,"text":310},{"id":404,"depth":441,"text":407},"markdown","content:docs:2.connections:3.salesforce.md","content","docs\u002F2.connections\u002F3.salesforce.md","docs\u002F2.connections\u002F3.salesforce","md",[460],{"title":461,"_path":462,"children":463},"Welcome","\u002Fdocs",[464,465,475,494,510,517,527],{"title":461,"_path":462},{"title":466,"_path":467,"children":468},"Getting started","\u002Fdocs\u002Fgetting-started",[469,472],{"title":470,"_path":471},"Quickstart","\u002Fdocs\u002Fgetting-started\u002Fquickstart",{"title":473,"_path":474},"Key concepts","\u002Fdocs\u002Fgetting-started\u002Fconcepts",{"title":476,"_path":477,"children":478},"Connecting data","\u002Fdocs\u002Fconnections",[479,482,484,485,488,491],{"title":480,"_path":481},"Overview","\u002Fdocs\u002Fconnections\u002Foverview",{"title":483,"_path":397},"Sync settings",{"title":9,"_path":5},{"title":486,"_path":487},"Marketo","\u002Fdocs\u002Fconnections\u002Fmarketo",{"title":489,"_path":490},"Google Analytics 4","\u002Fdocs\u002Fconnections\u002Fgoogle-analytics-4",{"title":492,"_path":493},"PostgreSQL and MySQL","\u002Fdocs\u002Fconnections\u002Fpostgres-mysql",{"title":495,"_path":496,"children":497},"Analysis","\u002Fdocs\u002Fanalysis",[498,501,504,507],{"title":499,"_path":500},"Asking questions","\u002Fdocs\u002Fanalysis\u002Fask-a-question",{"title":502,"_path":503},"SQL editor","\u002Fdocs\u002Fanalysis\u002Fsql-editor",{"title":505,"_path":506},"Charts","\u002Fdocs\u002Fanalysis\u002Fcharts",{"title":508,"_path":509},"Tabs and sharing","\u002Fdocs\u002Fanalysis\u002Ftabs-and-sharing",{"title":511,"_path":512,"children":513},"Models","\u002Fdocs\u002Fmodels",[514],{"title":515,"_path":516},"Working with models","\u002Fdocs\u002Fmodels\u002Foverview",{"title":518,"_path":519,"children":520},"AI agents","\u002Fdocs\u002Fai-agents",[521,524],{"title":522,"_path":523},"Claude connector","\u002Fdocs\u002Fai-agents\u002Fclaude-connector",{"title":525,"_path":526},"Tools","\u002Fdocs\u002Fai-agents\u002Ftools",{"title":528,"_path":529,"children":530},"Administration","\u002Fdocs\u002Fadministration",[531,534,537],{"title":532,"_path":533},"People and roles","\u002Fdocs\u002Fadministration\u002Fpeople-and-roles",{"title":535,"_path":536},"Sign-in and SSO","\u002Fdocs\u002Fadministration\u002Fsign-in-and-sso",{"title":538,"_path":539},"Security","\u002Fdocs\u002Fadministration\u002Fsecurity",[541,542],{"_path":397,"title":483},{"_path":487,"title":486},1792546942911]