\documentclass{article}

\usepackage[record=alsoindex]{glossaries-extra}

\makeglossaries

\GlsXtrLoadResources[src=example-glossaries-brief]

\begin{document}

\gls{lorem}.

\printglossaries

\end{document}
