> Markdown version of [Configuring Push](https://vaadin.com/docs/v23/integrations/embedding/push). Section index: [llms.txt](https://vaadin.com/docs/v23/integrations/llms.txt)

# Configuring Push in Embedded Applications

You can configure and enable Push in your embedded applications.

You can configure Push in two ways:

- Use the [`@Push` annotation](https://vaadin.com/docs/v23/advanced/server-push.md#push.configuration.annotation) in your `WebComponentExporter` class.

  **Example**: Using the `@Push` annotation in the `PushComponentExporter` class.

  ```java
  @Push
  public class PushComponentExporter
          extends WebComponentExporter<Div> {
  ```

- Declare Push on the servlet level, by defining them in the [servlet configuration](https://vaadin.com/docs/v23/advanced/server-push.md#push.configuration.servlet).

  > **Note:** The `@Push` annotation declaration has the same limitation as the [@Theme\` annotation](https://vaadin.com/docs/v23/integrations/embedding/theming.md): it’s only possible to configure Push for one exporter. Declaring different `@Push` annotations for different exporter classes results in an exception during start-up.

See [Server Push Configuration](https://vaadin.com/docs/v23/advanced/server-push.md) for more about configuring Push.

`B5999F49-7C2F-4A50-8964-AADC0A8CD2E6`
