couchrest_model in Heroku Cloudant

How can I configure couchrest_model YML for Heroku Cloudant?

https://github.com/couchrest/couchrest_model/blob/master/lib/rails/generators/couchrest_model/config/templates/couchdb.yml

Is it like that?

production:
  protocol:
  host: "#{ENV['CLOUDANT_URL']}"
  port:
  prefix: testcouch
  suffix: production
  username:
  password:

ENV['CLOUDANT_URL'] value is like:
https://app632860.heroku:5MvsPXEue0ih7cMecIT...@app632860.heroku.cloudant.com