Skip to main content
Last Reviewed: December 12, 2022

Create the Drupal Site


  1. Create a new Drupal Integrated Composer site from the Upstream using the: Create Your Pantheon Site page. On the this page:

    • Enter a name for the site.

    • Choose a workspace if applicable.

    • Choose a region for the site. Click Continue.

    After you click Continue, it will take several minutes for the platform to configure everything.

  2. In the Dev tab on the Dashboard, set the site's Development Mode to SFTP.

  3. In the Dev tab, click Visit Development Site and follow the prompts to complete the CMS installation.

  4. Return to the Dev tab, set the site's Development Mode to Git, and clone the site locally.

  5. In your local terminal, from the project root directory, run composer install.

If your existing site has modules incompatible with MariaDB 10.4

The default database version for new sites is MariaDB 10.4.

If your site has any older contrib modules that are not compatible with MariaDB 10.4, set the MariaDB version of the new site to 10.3 in your pantheon.yml file.

The latest version of Drupal requires MariaDB 10.3 or later. If you have a site that you plan to upgrade, confirm that the database has been upgraded to MariaDB 10.3 or 10.4 in all environments before you begin the upgrade.

  • Using Terminus (recommended):

    echo "SELECT @@version;" | $(terminus connection:info $SITE.$ENV --fields=mysql_command --format=string)
  • From the Site Dashboard, find the Workflows dropdown on the Site Dashboard and confirm that the Workflows completed successfully.

Set Drupal Core Version

Set the Drupal core version to ensure the site remains on the current version of Drupal for now:

composer require --no-update drupal/core-recommended:^9
composer require --no-update drush/drush:"^10 || ^11 || ^12"
composer require --dev drupal/core-dev:^9
git add composer.*
git commit -m "Remain on Current Version"