# getGlobalId()

Gets the global ID, which is the generated globally unique id of the component. It can be used to locate the instance later, but will change across page loads.

## Signature

`getGlobalId()`

**See Also**

- [Component IDs](/docs/platform/aura-platform/guide/components-ids.md)
