---
title: "Global settings and config options"
date: "2021-06-03T10:00:41+00:00"
summary: "Explore Site Studio's global settings and config options for enhanced website control. Learn how to customize API keys, sync directories, and debug features through your settings.php file."
image:
type: "page"
url: "/drupal-starter-kits/add-ons/site-studio/global-settings-and-config-options"
id: "04783127-da68-4026-ab7b-7910bb3130c3"
---

In Site Studio there are a number of global settings and configuration options that can be set or overridden within your websites settings.php file. 

Global settings options
-----------------------

Show the JSON fields for debugging:  
  
`$settings['dx8_json_fields'] = TRUE;`    

Allow the API URL field on the account settings page to be editable:  
  
`$settings['dx8_editable_api_url'] = TRUE;`

Expose a version number field on the account settings page (for development):  
  
`$settings['dx8_editable_version_number'] = TRUE;`

Don't show the API key field on the account settings page:  
  
`$settings['dx8_no_api_keys'] = TRUE;`

Don't show the Google API key page:  
  
`$settings['dx8_no_google_keys'] = TRUE;`

Set the temporary stream wrapper that Site Studio should use:  
  
`$settings['coh_temporary_stream_wrapper'] = 'mytemp://';`

Set the sync directory that Site studio should use:  
  
`$settings['site_studio_sync'] = '../config/sync';`

Set the max number of entities to import via sync in the batch process:  
  
`$settings['sync_max_entity'] = 10;`

Set the max number of entities to rebuild at one time in the rebuild batch process:

`$settings['rebuild_max_entity'] = 10;`

Global config options
---------------------

Set Site Studio API key:  
  
`$config['cohesion.settings']['api_key'] = 'api-key';`

Set Site Studio organization key:  
  
`$config['cohesion.settings']['organization_key'] = 'org-key';`