code: def link_connection_to_account(app):
      
      url = os.path.join(settings.HEROKU_CONNECT_API_ENDPOINT, 'users', 'me', 'apps', app, 'auth')
      response = requests.post(
          url=url,
          headers=_get_authorization_headers()
      )
      response.raise_for_status()
docs: Link the connection to your Heroku user account.
  
      https://devcenter.heroku.com/articles/heroku-connect-api#step-3-link-the-connection-to-your-heroku-user-account