How to get Views to work in CiviCRM on Drupal9 with separate CiviCRM database
Do it exactly like was done in Drupal 7..
You should be able to goto path: civicrm/admin/setting/uf?reset=1
And then copy the integration code for the settings.php or settings.local.php from the &quot;Views Integration settings&quot;