I am trying to connect my flask app to Heroku database. I tried a million thinks and aways getting the same error message :

From the terminal, I am logging in to my app DB and getting the following message:
You are connected to database "dclhb9ntogjjr" as user "ikkcwdbfbqzfiw" on host "ec2-54-195-247-108.eu-west-1.compute.amazonaws.com" (address "54.195.247.108") at port "5432". SSL connection (protocol: TLSv1.2, cipher: ECDHE-RSA-AES256-GCM-SHA384, bits: 256, compression: off)
I tried to set variable DATABASE_URL=" ??????",but I am not sure how to get my DB URL from Heroku. If you have any ideas how to fix that please let me know.