Creating Your First Messaging Service

To start integrating your applications with PubSub+ Cloud, you must first create a messaging service. Once your messaging service is created, you can connect your applications with it by using a client library compatible with the Solace PubSub+ event broker. This tutorial will walk you through creating an account on PubSub+ Cloud, creating your first messaging service, and obtaining the connection information necessary to get your applications connected to PubSub+ Cloud.

Take a look at the Overview video to see how easy it is to get started or follow the step-by-step guided tutorial.

If you are new to messaging, see What is Messaging? for a brief overview of how messaging works in PubSub+ event brokers.

If you already have a PubSub+ Cloud user account, you can skip to Step 2: Create a messaging service.

Overview video

In the following video, we will show you how fast and easy it is to get a PubSub+ Cloud account and create a messaging service.

Goals

This tutorial will show you:

  • How to sign up for PubSub+ Cloud.
  • How to create a messaging service.
  • How to find your messaging service's connection information.

Step 1: Sign up for PubSub+ Cloud

To sign up for Standard PubSub+ Cloud, visit the New Account page. Creating an account takes just 2 minutes and requires only a web browser.

After you have submitted your details, you will receive a confirmation email. Click the Activate button or link in the email to finalize your account.

PubSub+ Cloud Activate Button

Step 2: Create a messaging service

After you have logged into the console, the My Services page is displayed. This page shows you the messaging services you have created in PubSub+ Cloud.

To create your first messaging service, do the following:

  1. Click the Create Servicebutton:

  2. Select a service type.

    For your first messaging service, select any available service type. PubSub+ Cloud offers service types providing various levels of messaging performance. Some of these service types may be inaccessible prior to configuring a billing method for your account. Later, you can request access to additional service types. For more information, see PubSub+ Event Broker: Cloud Pricing.

  3. Select a cloud provider.
  4. Click the map and choose a region for the provider you selected. For your first messaging service, choose the region closest to where your application will run.
  5. Enter a messaging service name. Messaging services are identified in the console by their name.
  6. Optional: If you are creating a messaging service on a dedicated infrastructure (see Frequently Asked Questions for a list), you have the option of setting the message VPN name, as shown below. This VPN name is the identifier used to connect to your service, and may include any of the following characters: alphanumeric, dashes, and underscores. To edit the system-generated VPN name, click the pencil icon on the right of the VPN name text box and enter a valid VPN name.

    Create messaging service with the Message VPN setting

  7. Create messaging service

  8. Click Start Service.

To see these steps in action, watch the Overview video.

Step 3: Find your messaging service's connection information

After you've clicked the Start Service button, your messaging service is created and started. It may take several minutes for your service to start.

When your service has started, you can see the following information on the tabs across the top of the screen:

  • Status: View the overall status and health of your messaging service.
  • Connect: See the connection information for your messaging service by selecting your language or protocol of choice.
  • Manage: Perform tasks such as configuring queues or managing clients.
  • Configuration: View the details of the messaging service you created, such as the cloud provider, region, and connection limits.
  • Try Me!: Try your messaging service using embedded CodePen examples.

To find your messaging service's connection information:

  1. Click the Connect tab and choose the messaging protocol your application will be using. If you're not sure, you can also change the View By drop-down to Language so you can see the connection details for the language your client application is written in.

  2. Select the client library you would like to use. The connection information for that library is shown.

    You can explore more about your client library using the links under the Learn More section.

Step 4: Learn more

Well done. You've now signed up and created your first messaging service. Want to learn more?

Try exchanging some messages with your new messaging service in the next tutorial: Trying Out Your Messaging Service