# Application Packages

> Application packages specify state machines running both on the end device and the Application Server, as well as signalling messages exchanged between the end …

Source: https://www.thethingsindustries.com/docs/integrations/application-packages/


Application packages specify state machines running both on the end device and the Application Server, as well as signalling messages exchanged between the end device's application layer and the Application Server.

## Associations and Default Associations

The link between an application or a device and an application package is achieved through associations.

Associations link a device and a FPort to a specific application package. Since you may want to link all of the devices of an application without manually creating an association for each one of them, you may consider a default association, which links the application and a FPort to a specific application package.

All associations with available application packages can be managed [using the CLI](https://www.thethingsindustries.com/docs/integrations/application-packages/using-the-cli/) or [using the API](https://www.thethingsindustries.com/docs/integrations/application-packages/using-the-api/).


## Pages in this section

- [Managing Application Packages using the CLI](https://www.thethingsindustries.com/docs/integrations/application-packages/using-the-cli/index.md): To interact with the available application packages, you can use The Things Stack CLI.
- [Managing Application Packages using the API](https://www.thethingsindustries.com/docs/integrations/application-packages/using-the-api/index.md): Besides using the CLI, you can also use the application package HTTP APIs exposed by The Things Stack to interact with the available application packages.
- [LoRa Cloud Modem and Geolocation Services](https://www.thethingsindustries.com/docs/integrations/application-packages/lora-cloud-device-and-application-services/index.md): The LoRa Cloud Modem and Geolocation Services v1 application package communicates the uplinks received from a compatible device to the LoRa Cloud Modem and …

