{"id":5413,"date":"2023-06-01T09:57:42","date_gmt":"2023-06-01T14:57:42","guid":{"rendered":"https:\/\/wpengine.com\/builders\/?p=5413"},"modified":"2023-11-28T09:36:15","modified_gmt":"2023-11-28T15:36:15","slug":"synchronize-production-data-with-local-connect","status":"publish","type":"post","link":"https:\/\/wpengine.com\/builders\/synchronize-production-data-with-local-connect\/","title":{"rendered":"Synchronize Production Data With Local Connect"},"content":{"rendered":"\n<div class=\"wp-block-group has-polar-background-color has-background has-global-padding is-layout-constrained wp-container-core-group-is-layout-8c185ad2 wp-block-group-is-layout-constrained\" style=\"border-radius:8px;padding-top:var(--wp--preset--spacing--30);padding-right:var(--wp--preset--spacing--40);padding-bottom:10px;padding-left:var(--wp--preset--spacing--40)\">\n<p class=\"has-small-font-size\"><em>This post is part of a series that helps set up an end-to-end workflow for developing sites.<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\" style=\"margin-top:12px;margin-right:var(--wp--preset--spacing--30);margin-bottom:var(--wp--preset--spacing--30);margin-left:var(--wp--preset--spacing--30)\">\n<li>Part One: <a href=\"https:\/\/wpengine.com\/builders\/local-wordpress-development-site\/\">Set Up a Local WordPress Development Site<\/a><\/li>\n\n\n\n<li>Part Two: <a href=\"https:\/\/wpengine.com\/builders\/git-version-control-in-local\/\">Git Version Control (in Local)<\/a><\/li>\n\n\n\n<li>Part Three: <a href=\"https:\/\/wpengine.com\/builders\/github-actions-for-deployments\/\">GitHub Action for Deployments<\/a><\/li>\n\n\n\n<li>Part Four: <strong>Synchronize Production Data With Local Connect<\/strong><\/li>\n<\/ul>\n<\/div>\n\n\n\n<p>So, let&#8217;s go over everything we&#8217;ve accomplished up to this point:<\/p>\n\n\n\n<div class=\"wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-8e4c4c4e wp-block-group-is-layout-flex\" style=\"margin-top:0\">\n<div class=\"wp-block-outermost-icon-block\"><div class=\"icon-container has-icon-color has-dollabillz-color\" style=\"color:#43AB3C;width:36px;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z\"><\/path><\/svg><\/div><\/div>\n\n\n\n<p>Set up a Local site for a local development environment where we can experiment and tinker with new features.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-8e4c4c4e wp-block-group-is-layout-flex\" style=\"margin-top:0\">\n<div class=\"wp-block-outermost-icon-block\"><div class=\"icon-container has-icon-color has-dollabillz-color\" style=\"color:#43AB3C;width:36px;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z\"><\/path><\/svg><\/div><\/div>\n\n\n\n<p>Set up Git version control of our Local site&#8217;s <code>wp-content\/<\/code> directory to watch changes to the Frost theme and the Yoast SEO plugin.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-8e4c4c4e wp-block-group-is-layout-flex\" style=\"margin-top:0\">\n<div class=\"wp-block-outermost-icon-block\"><div class=\"icon-container has-icon-color has-dollabillz-color\" style=\"color:#43AB3C;width:36px;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z\"><\/path><\/svg><\/div><\/div>\n\n\n\n<p>Established our GitHub remote repository with WP Engine&#8217;s GitHub Actions to trigger environment targetted deployments based on the branch we&#8217;re pushing our changes to.<\/p>\n<\/div>\n\n\n\n<p>Undoubtedly while we were setting up this process our client and editorial team have been busy making changes on the production site by adding and changing content, and we want to make sure that we always have the latest data on our Local site. This is where Local Connect can truly help.<\/p>\n\n\n\n<p>Local Connect will allow us to connect to any of our WP Engine environments (Development, Staging, Production) and we can choose to pull down files or just database information. In our case we just want to pull down the database changes that the client and their team have been making.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Enable Local&#8217;s MagicSync<\/h2>\n\n\n\n<p>Before proceeding, let&#8217;s ensure we have <a href=\"https:\/\/localwp.com\/help-docs\/local-features\/magic-sync\/\">Local&#8217;s MagicSync<\/a> enabled, which will provide greater detail in our synching capability, including database-only synching.<\/p>\n\n\n\n<p>Launch Local app&#8217;s <strong>Settings<\/strong> &gt; <strong>Appearance &amp; behavior<\/strong> and <strong>enable MagicSync<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image alignwide size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"1080\" src=\"https:\/\/wpengine.com\/builders\/wp-content\/uploads\/2023\/06\/enable-magicsync.png\" alt=\"Screenshot of Local's MagicSync settings enabled\" class=\"wp-image-5417\" srcset=\"https:\/\/wpengine.com\/builders\/wp-content\/uploads\/2023\/06\/enable-magicsync.png 1920w, https:\/\/wpengine.com\/builders\/wp-content\/uploads\/2023\/06\/enable-magicsync-300x169.png 300w, https:\/\/wpengine.com\/builders\/wp-content\/uploads\/2023\/06\/enable-magicsync-1024x576.png 1024w, https:\/\/wpengine.com\/builders\/wp-content\/uploads\/2023\/06\/enable-magicsync-768x432.png 768w, https:\/\/wpengine.com\/builders\/wp-content\/uploads\/2023\/06\/enable-magicsync-1536x864.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><figcaption class=\"wp-element-caption\">Screenshot of Local&#8217;s MagicSync settings enabled<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"setting-up-local-connect\">Setting up Local Connect<\/h3>\n\n\n\n<p>Full instructions on how to set up Local Connect with WP Engine can be <a href=\"https:\/\/localwp.com\/help-docs\/local-features\/local-connect\/#connect-to-wp-engine\">found in Local&#8217;s documentation<\/a>, but we&#8217;re going to step through it here as well.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"enable-api-access-in-wpengine-portal\">1. Enable API access in the WP Engine portal<\/h4>\n\n\n\n<p>Visit the <a href=\"https:\/\/my.wpengine.com\/api_access\">API Access area<\/a> in WP Engine&#8217;s portal, and verify that API access is enabled for the account.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"generate-api-credentials\">2. Generate API credentials<\/h4>\n\n\n\n<p>While on the <a href=\"https:\/\/my.wpengine.com\/api_access\">API Access page<\/a> and after verifying that API access is enabled then click the &#8216;Generate Credentials&#8217; button (top-right). This will trigger a modal pop-up, which will have the generated API credentials. Leave this open while you proceed with the next steps, because we&#8217;ll need to copy and paste these keys into Local.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"log-in-wpengine-in-local\">3. Log in to WP Engine in Local<\/h4>\n\n\n\n<p>You should see a &#8216;Connect host&#8217; button in the bottom-right of Local. If you click it a pop-up with open with an option to log in to WP Engine. Once you click the &#8216;Log in&#8217; for WP Engine there will be fields for both your API Username and API Password. These are the items that we left open in WP Engine&#8217;s portal (last step).<\/p>\n\n\n\n<p>Be sure to copy and paste your API credentials into Local and click the &#8216;Connect to WP Engine&#8217; button to finalize the process.<\/p>\n\n\n\n<p>If your credentials are correct then you should now see an option in the bottom-right for &#8216;Connected to no host selected&#8217;. Click on it and choose the &#8216;WP Engine&#8217; option. This will complete the connection to WP Engine.<\/p>\n\n\n\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\">\n<div class=\"wp-block-group has-polar-background-color has-background is-nowrap is-layout-flex wp-container-core-group-is-layout-85b72d78 wp-block-group-is-layout-flex\" style=\"border-radius:8px;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0\">\n<div class=\"wp-block-group has-base-color has-lapis-background-color has-text-color has-background is-horizontal is-nowrap is-layout-flex wp-container-core-group-is-layout-adf5909b wp-block-group-is-layout-flex\" style=\"border-top-left-radius:8px;border-bottom-left-radius:8px;padding-top:18px;padding-right:18px;padding-bottom:18px;padding-left:18px\">\n<div class=\"wp-block-outermost-icon-block\"><div class=\"icon-container has-icon-color has-polar-color\" style=\"color:#f4f7fa;width:24px\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"-2 -2 24 24\" aria-hidden=\"true\"><path d=\"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z\"><\/path><\/svg><\/div><\/div>\n\n\n\n<p class=\"has-medium-large-font-size\"><strong><em>Tip!<\/em><\/strong><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group has-small-font-size wp-container-content-ceb7f5b3 is-vertical is-layout-flex wp-container-core-group-is-layout-d60103d6 wp-block-group-is-layout-flex\" style=\"padding-top:18px;padding-right:18px;padding-bottom:18px;padding-left:18px\">\n<p><strong>Access Local&#8217;s Connect in multiple locations<\/strong><\/p>\n\n\n\n<p>You can access Local&#8217;s Connect options in two places. The bottom right, while on a Local site&#8217;s overview, or using the &#8216;Connect&#8217; (cloud icon) along the left-hand sidebar.<\/p>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"pulling-with-local-connect\">Pulling down data with Local Connect<\/h3>\n\n\n\n<p>Great, now we&#8217;ve established an API connection from Local to WP Engine. Now, we want to connect to the pertinent environment and pull down the latest Production site&#8217;s database information.<\/p>\n\n\n\n<p>First, make sure you have your site selected in Local. This should be the same site you created at the beginning of this tutorial. Then in the bottom right there are two cloud icons: one to Push and one to Pull from WP Engine. We want to Pull down data and will choose the &#8216;Pull from WP Engine&#8217; option.<\/p>\n\n\n\n<p>Once we&#8217;ve clicked the &#8216;Pull from WP Engine&#8217; icon a sync pop-up will open. Along the left-hand side is a drop-down, which allows us to select which WP Engine site we want to pull data from. (Remember, WP Engine sites each have the option to have multiple environments.) Once we choose the appropriate site then another drop-down will appear, which will allow us to choose which environment within the site we want to pull data from. In our case, we want to pull the latest data from the Production site. So, be sure to choose the Production environment.<\/p>\n\n\n\n<p>With our site and environment chosen, we just need to check the box underneath to &#8216;Include [the] database&#8217;.<\/p>\n\n\n\n<p>You&#8217;ll notice that the right-hand side offers a directory and file browser. We do not currently want to sync any files and just want the database. So, be sure to uncheck all the files and folders in the right-hand browser. You can use the topmost &#8216;Filename&#8217; checkbox to de-select them all at once.<\/p>\n\n\n\n<p>Last, be sure to click the &#8216;Pull from WP Engine&#8217; button, which will sync the Production environment&#8217;s database into your Local site and even replace all the domain URLs for you.<\/p>\n\n\n\n<figure class=\"wp-block-video alignwide\"><video height=\"720\" style=\"aspect-ratio: 1280 \/ 720;\" width=\"1280\" autoplay controls loop preload=\"auto\" src=\"https:\/\/wpengine.com\/builders\/wp-content\/uploads\/2023\/06\/Local-Connect-WPE-API-setup-optimized.mp4\" playsinline><\/video><figcaption class=\"wp-element-caption\">A walk-through of setting up Local&#8217;s Connect with WP Engine hosting<\/figcaption><\/figure>\n\n\n\n<p>It is important to note that your Local site&#8217;s database will be overwritten with the production database&#8217;s information, which will also include any previous WordPress users you may have created locally. Of course, you can use WP-CLI with Local to add new users as needed.<\/p>\n\n\n\n<p>If you need more granularity of what database tables you&#8217;re pulling down then you may want to consider utilizing WP Engine&#8217;s <a href=\"https:\/\/wpengine.com\/solution-center\/wp-migrate-db-pro\/\">WP Migrate DB Pro<\/a> plugin.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Wrapping up<\/h2>\n\n\n\n<p>At this point in our series, you should have a full end-to-end workflow for staging features and even promoting approved features to a production environment. Congratulations!<\/p>\n\n\n\n<p>Here are some next steps you may want to consider:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create a <a href=\"https:\/\/docs.github.com\/en\/get-started\/quickstart\/github-flow\">branch naming convention for new features or bug fixes<\/a> and document them for the team.<\/li>\n\n\n\n<li>Establish a cadence for how and when your team might want to consider updating a staging environment with production information.<\/li>\n\n\n\n<li><a href=\"https:\/\/github.com\/marketplace\/actions\/deploy-wordpress-to-wp-engine#deploy-options\">Enable PHP Linting<\/a> (<code>PHP_LINT: TRUE)<\/code> in your WP Engine GitHub Action deployments.<\/li>\n\n\n\n<li>Consider <a href=\"https:\/\/wpengine.com\/builders\/using-composer-manage-plugins-deploy\/\">utilizing Composer to manage dependencies in your codebase<\/a>.<\/li>\n<\/ul>\n\n\n\n<p>Hopefully, your team should thrive if you establish consistent workflows. Please reach out to <a href=\"https:\/\/twitter.com\/dcook\">@dcook<\/a> or <a href=\"https:\/\/twitter.com\/wpebuilders\/\">@wpebuilders<\/a> if you have any questions or comments. Thanks!<\/p>\n\n\n\n<div class=\"wp-block-group has-border-color has-mirage-border-color has-mirage-color has-base-background-color has-text-color has-background has-link-color wp-elements-4ec246525e7debe1f58ed930f4055f64 has-global-padding is-layout-constrained wp-container-core-group-is-layout-9b866ece wp-block-group-is-layout-constrained\" style=\"border-radius:12px;margin-bottom:var(--wp--preset--spacing--30);padding-top:var(--wp--preset--spacing--30);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30);padding-left:var(--wp--preset--spacing--30)\">\n<div class=\"wp-block-group alignwide is-content-justification-left is-layout-flex wp-container-core-group-is-layout-75880670 wp-block-group-is-layout-flex\" style=\"padding-top:0;padding-right:0;padding-bottom:0;padding-left:0\">\n<div class=\"wp-block-outermost-icon-block\"><div class=\"icon-container has-icon-color has-mirage-color\" style=\"color:#002838;width:54px\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M20,4H4C2.895,4,2,4.895,2,6v12c0,1.105,0.895,2,2,2h16c1.105,0,2-0.895,2-2V6C22,4.895,21.105,4,20,4z M20,8.236l-8,4.882 L4,8.236V6h16V8.236z\"><\/path><\/svg><\/div><\/div>\n\n\n\n<p class=\"has-medium-font-size wp-container-content-9cfa9a5a\" style=\"line-height:1.5\">Get the latest headless and modern <br>WordPress tutorials in your inbox.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-right is-nowrap is-layout-flex wp-container-core-buttons-is-layout-b315634e wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button is-style-outline is-style-outline--1\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/wpeng.in\/82d3c0\/\" style=\"border-radius:99px;padding-top:10px;padding-right:24px;padding-bottom:10px;padding-left:24px\">Subscribe \u2192<\/a><\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This post is part of a series that helps set up an end-to-end workflow for developing sites. So, let&#8217;s go over everything we&#8217;ve accomplished up to this point: Set up [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":5309,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_EventAllDay":false,"_EventTimezone":"","_EventStartDate":"","_EventEndDate":"","_EventStartDateUTC":"","_EventEndDateUTC":"","_EventShowMap":false,"_EventShowMapLink":false,"_EventURL":"","_EventCost":"","_EventCostDescription":"","_EventCurrencySymbol":"","_EventCurrencyCode":"","_EventCurrencyPosition":"","_EventDateTimeSeparator":"","_EventTimeRangeSeparator":"","_EventOrganizerID":[],"_EventVenueID":[],"_OrganizerEmail":"","_OrganizerPhone":"","_OrganizerWebsite":"","_VenueAddress":"","_VenueCity":"","_VenueCountry":"","_VenueProvince":"","_VenueState":"","_VenueZip":"","_VenuePhone":"","_VenueURL":"","_VenueStateProvince":"","_VenueLat":"","_VenueLng":"","_VenueShowMap":false,"_VenueShowMapLink":false,"footnotes":""},"categories":[1],"tags":[33,36,35],"class_list":["post-5413","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","tag-local","tag-local-connect","tag-workflow"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Synchronize Production Data With Local Connect - Builders<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wpengine.com\/builders\/synchronize-production-data-with-local-connect\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Synchronize Production Data With Local Connect - Builders\" \/>\n<meta property=\"og:description\" content=\"This post is part of a series that helps set up an end-to-end workflow for developing sites. So, let&#8217;s go over everything we&#8217;ve accomplished up to this point: Set up [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpengine.com\/builders\/synchronize-production-data-with-local-connect\/\" \/>\n<meta property=\"og:site_name\" content=\"Builders\" \/>\n<meta property=\"article:published_time\" content=\"2023-06-01T14:57:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-28T15:36:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wpengine.com\/builders\/wp-content\/uploads\/2023\/06\/synchronize-production-data-og.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Damon Cook\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/wpengine.com\/builders\/wp-content\/uploads\/2023\/06\/synchronize-production-data-og.jpg\" \/>\n<meta name=\"twitter:creator\" content=\"@dcook\" \/>\n<meta name=\"twitter:site\" content=\"@wpebuilders\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Damon Cook\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/synchronize-production-data-with-local-connect\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/synchronize-production-data-with-local-connect\\\/\"},\"author\":{\"name\":\"Damon Cook\",\"@id\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/#\\\/schema\\\/person\\\/9d8d20c8a321b90faceae588fcf6d30d\"},\"headline\":\"Synchronize Production Data With Local Connect\",\"datePublished\":\"2023-06-01T14:57:42+00:00\",\"dateModified\":\"2023-11-28T15:36:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/synchronize-production-data-with-local-connect\\\/\"},\"wordCount\":1080,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/synchronize-production-data-with-local-connect\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/Local-GitHub-workflow.png\",\"keywords\":[\"Local\",\"Local Connect\",\"workflow\"],\"articleSection\":[\"WordPress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/wpengine.com\\\/builders\\\/synchronize-production-data-with-local-connect\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/synchronize-production-data-with-local-connect\\\/\",\"url\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/synchronize-production-data-with-local-connect\\\/\",\"name\":\"Synchronize Production Data With Local Connect - Builders\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/synchronize-production-data-with-local-connect\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/synchronize-production-data-with-local-connect\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/Local-GitHub-workflow.png\",\"datePublished\":\"2023-06-01T14:57:42+00:00\",\"dateModified\":\"2023-11-28T15:36:15+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/synchronize-production-data-with-local-connect\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/wpengine.com\\\/builders\\\/synchronize-production-data-with-local-connect\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/synchronize-production-data-with-local-connect\\\/#primaryimage\",\"url\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/Local-GitHub-workflow.png\",\"contentUrl\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/Local-GitHub-workflow.png\",\"width\":1920,\"height\":1080,\"caption\":\"diagram demonstrating a workflow for promoting code to production on WP Engine\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/synchronize-production-data-with-local-connect\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Synchronize Production Data With Local Connect\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/#website\",\"url\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/\",\"name\":\"Builders\",\"description\":\"Reimagining the way we build with WordPress.\",\"publisher\":{\"@id\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/#organization\",\"name\":\"WP Engine\",\"url\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/WP-Engine-Horizontal@2x.png\",\"contentUrl\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/WP-Engine-Horizontal@2x.png\",\"width\":348,\"height\":68,\"caption\":\"WP Engine\"},\"image\":{\"@id\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/wpebuilders\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCh1WuL54XFb9ZI6m6goFv1g\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/#\\\/schema\\\/person\\\/9d8d20c8a321b90faceae588fcf6d30d\",\"name\":\"Damon Cook\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/18d75285d6803fab88b7f45601bb68cbac7c3956347217c06a0291e27dc65f6a?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/18d75285d6803fab88b7f45601bb68cbac7c3956347217c06a0291e27dc65f6a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/18d75285d6803fab88b7f45601bb68cbac7c3956347217c06a0291e27dc65f6a?s=96&d=mm&r=g\",\"caption\":\"Damon Cook\"},\"description\":\"Damon Cook is a Developer Advocate at WP Engine. Previously, he navigated the WordPress agency land for a decade. He is a purveyor and discoverer of musical frisson. He can be found in the realms of WordPress Slack, WooCommerce Slack, and Twitter.\",\"sameAs\":[\"https:\\\/\\\/x.com\\\/dcook\"],\"url\":\"https:\\\/\\\/wpengine.com\\\/builders\\\/author\\\/damon-cook\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Synchronize Production Data With Local Connect - Builders","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wpengine.com\/builders\/synchronize-production-data-with-local-connect\/","og_locale":"en_US","og_type":"article","og_title":"Synchronize Production Data With Local Connect - Builders","og_description":"This post is part of a series that helps set up an end-to-end workflow for developing sites. So, let&#8217;s go over everything we&#8217;ve accomplished up to this point: Set up [&hellip;]","og_url":"https:\/\/wpengine.com\/builders\/synchronize-production-data-with-local-connect\/","og_site_name":"Builders","article_published_time":"2023-06-01T14:57:42+00:00","article_modified_time":"2023-11-28T15:36:15+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/wpengine.com\/builders\/wp-content\/uploads\/2023\/06\/synchronize-production-data-og.jpg","type":"image\/jpeg"}],"author":"Damon Cook","twitter_card":"summary_large_image","twitter_image":"https:\/\/wpengine.com\/builders\/wp-content\/uploads\/2023\/06\/synchronize-production-data-og.jpg","twitter_creator":"@dcook","twitter_site":"@wpebuilders","twitter_misc":{"Written by":"Damon Cook","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/wpengine.com\/builders\/synchronize-production-data-with-local-connect\/#article","isPartOf":{"@id":"https:\/\/wpengine.com\/builders\/synchronize-production-data-with-local-connect\/"},"author":{"name":"Damon Cook","@id":"https:\/\/wpengine.com\/builders\/#\/schema\/person\/9d8d20c8a321b90faceae588fcf6d30d"},"headline":"Synchronize Production Data With Local Connect","datePublished":"2023-06-01T14:57:42+00:00","dateModified":"2023-11-28T15:36:15+00:00","mainEntityOfPage":{"@id":"https:\/\/wpengine.com\/builders\/synchronize-production-data-with-local-connect\/"},"wordCount":1080,"commentCount":0,"publisher":{"@id":"https:\/\/wpengine.com\/builders\/#organization"},"image":{"@id":"https:\/\/wpengine.com\/builders\/synchronize-production-data-with-local-connect\/#primaryimage"},"thumbnailUrl":"https:\/\/wpengine.com\/builders\/wp-content\/uploads\/2023\/06\/Local-GitHub-workflow.png","keywords":["Local","Local Connect","workflow"],"articleSection":["WordPress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/wpengine.com\/builders\/synchronize-production-data-with-local-connect\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/wpengine.com\/builders\/synchronize-production-data-with-local-connect\/","url":"https:\/\/wpengine.com\/builders\/synchronize-production-data-with-local-connect\/","name":"Synchronize Production Data With Local Connect - Builders","isPartOf":{"@id":"https:\/\/wpengine.com\/builders\/#website"},"primaryImageOfPage":{"@id":"https:\/\/wpengine.com\/builders\/synchronize-production-data-with-local-connect\/#primaryimage"},"image":{"@id":"https:\/\/wpengine.com\/builders\/synchronize-production-data-with-local-connect\/#primaryimage"},"thumbnailUrl":"https:\/\/wpengine.com\/builders\/wp-content\/uploads\/2023\/06\/Local-GitHub-workflow.png","datePublished":"2023-06-01T14:57:42+00:00","dateModified":"2023-11-28T15:36:15+00:00","breadcrumb":{"@id":"https:\/\/wpengine.com\/builders\/synchronize-production-data-with-local-connect\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpengine.com\/builders\/synchronize-production-data-with-local-connect\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wpengine.com\/builders\/synchronize-production-data-with-local-connect\/#primaryimage","url":"https:\/\/wpengine.com\/builders\/wp-content\/uploads\/2023\/06\/Local-GitHub-workflow.png","contentUrl":"https:\/\/wpengine.com\/builders\/wp-content\/uploads\/2023\/06\/Local-GitHub-workflow.png","width":1920,"height":1080,"caption":"diagram demonstrating a workflow for promoting code to production on WP Engine"},{"@type":"BreadcrumbList","@id":"https:\/\/wpengine.com\/builders\/synchronize-production-data-with-local-connect\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wpengine.com\/builders\/"},{"@type":"ListItem","position":2,"name":"Synchronize Production Data With Local Connect"}]},{"@type":"WebSite","@id":"https:\/\/wpengine.com\/builders\/#website","url":"https:\/\/wpengine.com\/builders\/","name":"Builders","description":"Reimagining the way we build with WordPress.","publisher":{"@id":"https:\/\/wpengine.com\/builders\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wpengine.com\/builders\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/wpengine.com\/builders\/#organization","name":"WP Engine","url":"https:\/\/wpengine.com\/builders\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wpengine.com\/builders\/#\/schema\/logo\/image\/","url":"https:\/\/wpengine.com\/builders\/wp-content\/uploads\/2024\/05\/WP-Engine-Horizontal@2x.png","contentUrl":"https:\/\/wpengine.com\/builders\/wp-content\/uploads\/2024\/05\/WP-Engine-Horizontal@2x.png","width":348,"height":68,"caption":"WP Engine"},"image":{"@id":"https:\/\/wpengine.com\/builders\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/wpebuilders","https:\/\/www.youtube.com\/channel\/UCh1WuL54XFb9ZI6m6goFv1g"]},{"@type":"Person","@id":"https:\/\/wpengine.com\/builders\/#\/schema\/person\/9d8d20c8a321b90faceae588fcf6d30d","name":"Damon Cook","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/18d75285d6803fab88b7f45601bb68cbac7c3956347217c06a0291e27dc65f6a?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/18d75285d6803fab88b7f45601bb68cbac7c3956347217c06a0291e27dc65f6a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/18d75285d6803fab88b7f45601bb68cbac7c3956347217c06a0291e27dc65f6a?s=96&d=mm&r=g","caption":"Damon Cook"},"description":"Damon Cook is a Developer Advocate at WP Engine. Previously, he navigated the WordPress agency land for a decade. He is a purveyor and discoverer of musical frisson. He can be found in the realms of WordPress Slack, WooCommerce Slack, and Twitter.","sameAs":["https:\/\/x.com\/dcook"],"url":"https:\/\/wpengine.com\/builders\/author\/damon-cook\/"}]}},"_links":{"self":[{"href":"https:\/\/wpengine.com\/builders\/wp-json\/wp\/v2\/posts\/5413","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpengine.com\/builders\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpengine.com\/builders\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpengine.com\/builders\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/wpengine.com\/builders\/wp-json\/wp\/v2\/comments?post=5413"}],"version-history":[{"count":0,"href":"https:\/\/wpengine.com\/builders\/wp-json\/wp\/v2\/posts\/5413\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpengine.com\/builders\/wp-json\/wp\/v2\/media\/5309"}],"wp:attachment":[{"href":"https:\/\/wpengine.com\/builders\/wp-json\/wp\/v2\/media?parent=5413"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpengine.com\/builders\/wp-json\/wp\/v2\/categories?post=5413"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpengine.com\/builders\/wp-json\/wp\/v2\/tags?post=5413"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}