---
title: "Bespoke URL for your SDK integration"
slug: "bespoke-url-integration"
updated: 2026-06-09T22:46:15Z
published: 2026-06-09T22:46:15Z
canonical: "docs.xtremepush.com/bespoke-url-integration"
stale: true
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xtremepush.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Bespoke URL for your SDK integration

Additional step required for private cloud integrations

If you have a private cloud deployment of the Xtremepush platform, then you will have a bespoke URL for your version of the platform which will need to be set when integrating.

You may have received the bespoke URL from your Account Manager during setup for private cloud, or you may have chosen it yourself for an on-premise installation.

## Android

In the Latest SDK (and v4.0.0 and up):

```java
new PushConnector.Builder(XPUSH_APP_KEY, GOOGLE_PROJECT_NUMBER)
 .setServerUrl("https://yourbespokeurl.com")
 .create(this);
```

For SDK Versions prior to v4.0.0:

```java
// INITIALISE THE XTREMEPUSH CONNECTOR HERE
    mPushConnector = new PushConnector.Builder("XTREME_PUSH_APP_KEY", "GOOGLE_PROJECT_NUMBER")
    .setServerUrl("https://yourbespokeurl.com")
    .create(this);
```

## iOS

There are two ways to achieve this on iOS:

- You can set the url using the `setServerURL` method:

**Swift**

```swift
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
    XPush.appKey = "APP_KEY_FROM_NEW_DASHBOARD"
    XPush.serverURL = "https://yourbespokeurl.com"
    XPush.applicationDidFinishLaunching(withOptions: launchOptions)
}
```

**Objective-C**

```objectivec
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    [XPush setAppKey: @"APP_KEY_FROM_NEW_DASHBOARD"];
    [XPush setServerURL: @"https://yourbespokeurl.com"]; 
    [XPush applicationDidFinishLaunchingWithOptions:launchOptions];
}
```

- Or in your `Info.plist` add the following key-value pair. In the key field add `XtremePushServerURL` and set it to `https://yourbespokeurl.com`.
