I got a job in finance. This company is providing a loan against gold. Can I do a job over there or not?

If gold is kept as gurantee then it is allowed