Installing a site from existing configuration I tried importing a configuration after installing Drupal 8 using the standard installation profile but was getting into errors related to the installation profile being already present. 

I need a clean drupal slate with only the configuration and no content.  Is it possible to do that?
I found out we can do this by running the following drush command

drush site:install --existing-config


However you might encounter an error related to hook_install found in standard install profile. To mitigate that you would need to install this patch. 

https://www.drupal.org/files/issues/2018-11-27/2982052-22.patch