> For the complete documentation index, see [llms.txt](https://emotiv.gitbook.io/cortex-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://emotiv.gitbook.io/cortex-api/headset.md).

# Headsets

After you finish the [authentication](/cortex-api/authentication.md) process, your application should start headset scanning to search for EMOTIV headsets, using the method [controlDevice](/cortex-api/headset/controldevice.md) with "refresh" command, then use the method [queryHeadsets](/cortex-api/headset/queryheadsets.md) to get the discovered headsets.

If the headset is not connected to Cortex yet, then you must call [controlDevice](/cortex-api/headset/controldevice.md) with "connect" command.

See also [Headset object](/cortex-api/headset/headset-object.md) for details.
