Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

NowServiceConfiguration structure- iOS

The NowServiceConfiguration structure defines configuration information for a feature service.

NameTypeDescription
appBundleIdStringBundle ID of the application integrating with the NowSDK.
instanceUrlStringURL of the ServiceNow instance that the feature service will access. For example: https://instance.servicenow.com.

Parent Topic:Mobile SDK - iOS

NowServiceConfiguration - init(instanceUrl: URL, appBundleId: String)

Configures the calling feature service with the specified configuration information.

NameTypeDescription
instanceUrlStringURL of the ServiceNow instance that the feature service will access. For example: https://instance.servicenow.com.
appBundleIdStringBundle ID of the application integrating with the NowSDK.
TypeDescription
None 

The following code example shows how to call this method.

guard 
  let instanceUrl = URL(string: "https://instance.service-now.com") else {
    return
  }

NowServiceConfiguration(instanceUrl: instanceUrl, appBundleId: "com.servicenow.appBundle")