Is there any docs about configuring loki in thanos?

I’m working on monitoring multi cluster with prometheus, loki, thanos.

and I’m having a problem on configuring loki from thanos, Is there any docs about that? I can not find any.