Cannot resolve symbol "Index"

hello I’m trying to instantiate client index

the first step in https://www.algolia.com/doc/guides/security/security-best-practices/#api-keys-in-mobile-applications

but i get an error on the index line

Hello there,

Thanks for reaching out to us!
Have you tried to follow the instructions given at https://www.algolia.com/doc/api-client/getting-started/instantiate-client-index/#init-index?

Let me know how it goes and if you have more questions.
Best

yes I followed the steps but as I said I get error when i write

Index index = client.getIndex(“Story”);