There are times that when deploying your Strapi application you'll want the data and settings you developed with to be transferred to your production environment. To do this we can use Strapi's data transfer feature.
To start the data transfer we will need to log into the production environment and create a transfer token. When the token is created we will just need to run yarn strapi transfer --to :heroku-url
and paste the transfer token when prompted. You'll notice that all the data is present in your production enviroment as well as the roles you set up in development.