Quickstart with PostHog Cloud

Last updated:

Introduction

This guide walks through setting up PostHog Cloud and sending your first events. PostHog Cloud is our hosted and managed version of the PostHog open-source platform. It always runs on the latest release with updates and migrations managed for you.

We recommend PostHog Cloud for almost all our users, as it's the easiest way to get PostHog running and is able to scale to large events volumes. It also comes with 1m events free each month.

Need to keep full-control of your data? Check out our docs for self-hosting PostHog.

1. Create an account

Set up a PostHog Cloud account (hosted in the US), or if you're looking for a GDPR-ready environment, try PostHog Cloud EU.

2. Set up your project

After signing up, you'll see a screen that asks you how you'd like to send events. Select whichever option best matches your use case. If you're not ready to set up your integration yet, you can explore the demo project or invite a team member to help you start ingesting events.

For web-based projects, the easiest way to get started is by adding the JavaScript snippet to your website and app.

selecting where you want to intregrate PostHog to

3. Send your first events

After you've selected an option, you'll be shown some instructions to get PostHog integrated with your platform of choice. If you've chosen the 'Just Exploring' option, you'll instead be shown the PostHog bookmarklet, which can be used to temporarily send events from a webpage you're viewing to test your integration.

After you've followed these steps, you'll then be sent to a waiting screen where PostHog will listen for events to ensure your integration is set up correctly.

waiting for events to arrive

Once PostHog receives its first event, you should then see a success screen with a 'Complete' button that will take you to your dashboard.

first event has been detected

If you are having trouble getting events to show up, you can click the back arrow to go back to instructions for each specific platform, or you can checkout this page for more detailed information on ingesting events into PostHog. We'd recommend you don't skip this step unless you've already set-up another PostHog account before or if you've used other product analytics platforms.

4. Next steps

Now that you have your PostHog Cloud account all set up, here are a bunch of cool things you can go and try out next:

  • Next steps after installing PostHog - Our recommendations for what to do next after you've installed PostHog.
  • Product manual - Information on using specific features within PostHog.
  • Tutorials - In-depth guides on popular use cases and integrations.
  • Set up a proxy - Capture more events by using your own domain - even on Cloud!
  • Toolbar - View heatmaps and customize your integration from your website.
  • Apps - PostHog provides over 50+ apps to connect with your favorite services.
  • API - Get programmatic access to your data and insights.

Questions?

Was this page useful?

Next article

JavaScript

Note: You can just use our snippet to start capturing events with our JS. This page of the Docs refers to our posthog-js library. Installation Usage Autocapture Tuning autocapture You can configure autocapture using allowlists. If an array is passed for an allowlist, autocapture events will only be sent for elements matching at least one of the items in the array. For example, to only capture clicks on buttons on the docs section of the website that contain the data attribute ph…

Read next article