---
title: "Configure sync module"
date: "2022-04-26T21:45:08+00:00"
summary: "Streamline your Site Studio configuration with our guide on setting up the sync directory and managing package exports. Learn best practices for Drush CLI exports and legacy settings to optimize your workflow."
image:
type: "page"
url: "/drupal-starter-kits/add-ons/site-studio/configure-sync-module"
id: "4c742e4c-f60c-4628-89d1-bb49f6f8221d"
---

Table of contents will be added

**Configuring your sync directory**
-----------------------------------

This is the default location of your Site Studio full export package files. 

In `settings.php` you will need to add a setting `$settings['site_studio_sync']`

For example `$settings['site_studio_sync'] = '../config/sync/sitestudio';`

Package export directory handling
---------------------------------

Important

When exporting packages via Drush CLI, ensure that the target directory is dedicated to store package files and nothing else.

When you export a package via Drush CLI, all files in the target directory will be deleted before package export.  
Due to this, we recommend choosing a directory structure for your packages that will not result in export commands deleting files you would like to keep.

Legacy settings
---------------

### Multi-line

When exporting configuration through _sync:export,_ json can be configured to be output as non serialised values. This increases the readability of packages when doing using version control as json values will be displayed on multiple lines.

To enable this functionality add `$settings['site_studio_package_multiline'] = TRUE` to your settings.php.