Worldcoin

Introduction

Integration guide

This guide will walk you through everything you need to get started with World ID or Sign In with Worldcoin!

  1. Sign in to the Developer Portal. You will need a World-ID compatible wallet (such as the World App) and a Phone- or Orb-Verified World ID to sign in.

    While adding your email is optional, adding it is encouraged. This will allow you to maintain access to your Developer Portal account should you lose your World ID.

  2. Decide whether you're going to use Sign In with Worldcoin or Anonymous Actions. Here's a helpful guide:

    Sign In with WorldcoinAnonymous Actions

    Sign In with Worldcoin

    Sign In with Worldcoin is built to bring the privacy benefits of World ID to a broad range of apps as easily as possible. It is a simple, drop-in authentication mechanism that works with any OIDC-compatible authentication engine.

    ✅ When to use Sign In with Worldcoin:

    • You want to know that an account belongs to a real person, and each real person only has one account.
    • You already use Auth0, NextAuth, or a similar authentication engine in your app.
    • You want to allow users to preserve their privacy, or even stay completely anonymous.

    🚫 When not to use Sign In with Worldcoin:

    • Your app has an on-chain component (e.g. a smart contract).
    • You want a user to be able to have multiple accounts and keep them separate.
    • You want to verify a user is doing a specific action only once.
  3. Create and configure your first app.

    • Name your app something recognizable. It will be displayed to users when they are asked to Verify with World ID.
    • Select the environment to use: Staging or Production.
      • Use Staging apps for testing and development. You must use the World ID Simulator to verify actions.
      • Use Production apps for production. You must use the World App to verify actions.
    • Select whether you want this action to be cloud-based or on-chain. Cloud-based actions are verified with our Cloud API, while on-chain actions are verified by our smart contracts on the blockchain.

      If you want to use Sign In with Worldcoin, ensure you select Cloud-based.

  4. Note your App ID (also called the Client ID). It looks something like app_GBkZ1KlVUdFTjeMXskrX. For Sign In with Worldcoin, you should also note your Client Secret, which is found alongside the Client ID in the Sign In tab.

  5. Follow our guides specific to your use case:

    Sign In with WorldcoinCloud Anonymous ActionsOn-Chain Anonymous Actions

    Follow the Auth0 Integration installation instructions to add Sign In with Worldcoin to your Auth0 Tenant using the Client ID and Client Secret found in the Developer Portal.

    If your app hasn't yet integrated Auth0, you can use any of their various SDK libraries to get started. This allows using Sign In with Worldcoin on a very broad range of platforms, including web, mobile, and desktop apps.

  6. Test your integration with the Worldcoin Simulator and a Staging App ID.