Quickstart

Prerequisites

circle-info
  • Self-registration is not available. If you do not have an account, please contact your account manager or contact usarrow-up-right to set one up.

  • A Pango account. If you don't have one, contact your account manager to get set up.

  • An existing project in the Pango Console. Contact your account manager if you need a project created for you.

  • A demo app project folder. Contact your account manager to get access to the demo app.

  • iOS 18 or newer

  • Latest version of Xcode (recommended)

Before Calling the VPN SDK

Before calling the VPN SDK, you will need to follow the steps below.

Getting ProjectID

This is displayed in the upper right corner of the Pango Console, directly below the project name. This value is assigned when the project is created and cannot be changed.

Getting Backend Url

Use one of the following:

  • https://api-stage.pango-cloud.com — staging environment, recommended for initial integration and testing

  • https://api.pango-cloud.com — can be used as a test domain for production; a dedicated production domain is provided as part of project creation

Run the VPN SDK

Follow these steps to download, configure, and run the demo application. You can then verify it works by checking the results in the Pango Console.

  1. Download the demo app project folder and open the .xcodeproj file in Xcode.

  2. Configure code signing: go to TARGETS > Signing & Capabilities and enable Automatically manage signing. Select your Team. If you haven't added an Apple account yet, go to Xcode > Settings > Apple Accounts > Add Apple Account....

  3. Set your Project ID: open Projects/VPNSDK Demo/Configuration/Configuration.swift and replace YOUR_PROJECT_ID with your actual ProjectID:

  4. Build and run the project in the simulator. The running application should look like this:

    VPN iOS Simulator
    circle-exclamation

Verify VPN Connection

  1. Your device is now connected to the VPN. To verify the connection:

    • Open any browser on your device.

    • Navigate to whatsmyip.com, ip.me, or any other site which can identify your IP.

    • Observe that the IP address displayed is different from your device's actual IP address, confirming that traffic is being routed through the VPN.

  2. When you are done testing, click the "Disconnect" button in the demo app to stop the VPN connection. Your device will return to using its regular network connection.

Verify Your Connection in the Pango Console

  1. Log in to Pango Consolearrow-up-right and navigate to the Users page. You should see your test user listed:

  2. Click on the user row to view detailed information about the test user:

More Information

Last updated

Was this helpful?