How to configure S3 bucket with a Role for Mimir-distributed helm chart on eks?

Hi All,
I am configuring Grafana Mimir distributed helm chart,
I have a bucket with the name test-mimir-bucket and would like to send data as a long term storage option from mimir.
Note: I am not using the minio storage option.
Can someone please provide a code and where to place the code in Mimir-distributed helm chart.
Thanks in Advance.