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

# Configuring Push in Embedded Applications

You can configure and enable Push in your embedded applications. Push can be configured in two ways. One way is to use the [`@Push` annotation](https://vaadin.com/docs/next/flow/advanced/server-push.md#push.configuration.annotation) in your `WebComponentExporter` class.

Here’s an example of this using the `@Push` annotation in the `PushComponentExporter` class:

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

Another way is to declare Push on the servlet level, by defining them in the [servlet configuration](https://vaadin.com/docs/next/flow/advanced/server-push.md#push.configuration.servlet).

> **Note:** The `@Push` annotation declaration has a limitation: 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/next/flow/advanced/server-push.md) for more about configuring Push.

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