\makeglossaries

\newglossaryentry{sample}{name={sample},
 description={an example}}

