How to decouple Drupal in 2019 (middle section)

The middle section of the flowchart showing how to decouple Drupal in 2019