---
schema_version: "1"
id: 06d266664904deccc6ae079a8ac915c909e74cb56d1b6a15ce419d450e763809
title: Java Quick Start
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/event-bus/pub-sub-api/guides/qs-java-quick-start-parent.md
canonical_url: https://developer.salesforce.com/docs/platform/pub-sub-api/guide/qs-java-quick-start-parent.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 949af6ef1f91db99204585f0ee7961e218520532c8287583dbf618a93fd6f72b
products:
  - Pub/Sub API
  - Event Bus Docs
---
# Java Quick Start

To get started with Pub/Sub API and publish and subscribe to events, follow the steps in [Java Quick Start for Publishing and Subscribing to Events](https://developer.salesforce.com/docs/platform/pub-sub-api/guide/qs-java-quick-start.md). To try the managed subscriptions beta feature, which lets you track and resume your subscriptions easily, follow the steps in [Java Quick Start for Managed Event Subscriptions (Beta)](https://developer.salesforce.com/docs/platform/pub-sub-api/guide/qs-java-managed-quick-start.md).

**In this section:**

- [Java Quick Start for Publishing and Subscribing to Events](https://developer.salesforce.com/docs/platform/pub-sub-api/guide/qs-java-quick-start.md)
- [Java Quick Start for Managed Event Subscriptions (Beta)](https://developer.salesforce.com/docs/platform/pub-sub-api/guide/qs-java-managed-quick-start.md)
