---
sourceDocument: Xanadu API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/api-reference

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# NowServiceConfiguration structure - iOS

# NowServiceConfiguration structure - iOS {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

The NowServiceConfiguration structure defines configuration
information for a feature service.
{#NowServiceConfigurationiOSStruct__table_vx2_klw_5pb__entry__3}

| Name | Type | Description |
|-|-|-|
| appBundleId | String | Bundle ID of the application integrating with the NowSDK. |
| instanceUrl | String | URL of the ServiceNow instance that the feature service will access. For example: `https://instance.servicenow.com`. |
[Table 1. Properties]

{#NowServiceConfigurationiOSStruct__table_vx2_klw_5pb}

## NowServiceConfiguration - init(instanceUrl: URL, appBundleId: String) {#ariaid-title2}

Configures the calling feature service with the specified configuration
information.
{#NSConf-init_S_S__table_wtf_gjg_mqb__entry__3}

| Name | Type | Description |
|-|-|-|
| instanceUrl | String | URL of the ServiceNow instance that the feature service will access. For example: `https://instance.servicenow.com`. |
| appBundleId | String | Bundle ID of the application integrating with the NowSDK. |
[Table 2. Parameters]

{#NSConf-init_S_S__table_wtf_gjg_mqb} {#NSConf-init_S_S__table_xtf_gjg_mqb__entry__2}

| Type | Description |
|-|-|
| None |   |
[Table 3. Returns]

{#NSConf-init_S_S__table_xtf_gjg_mqb}  
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")


