How can I give some params to gatling from database when i runing gatling?

I need keep my simulation params to database, but i don understand How to transfer the params to gatling?
Can you give me a scenario and the operation details? I will grateful for this.
Thank for your time!

Some info below which may help you:

Connect and fetch data from database:

Using the data later:

Try to combine this two, I will try and post something.