What is the relationship between securities companies and indexes?

There is no relationship between the two.

A securities company is a member of a stock exchange, accepting the entrusted transactions of investors on behalf of the exchange and earning commissions from them;

Stock index is the data calculated by the stock exchange from a certain range of stocks, which reflects the stock price in the form of index.

Welcome to continue asking questions. If the answer is helpful to you, I hope it can be adopted in time. Thank you!