# How to set up App Configurations in macOS devices?

With Hexnode, you can configure basic settings like accounts, logins etc., on apps with the help of app configuration files. These app configuration files are deployed in XML format containing the keys and values to specify the configured settings.

 Pre-requisite App configurations can be applied to only those apps provisioned with configurations built in by the app developers.

 

Setting up App Configurations
-----------------------------

The steps for pushing app configurations on Mac devices are listed below.

1. Navigate to the **Policies** tab on Hexnode portal.
2. Choose an existing policy or create a new policy by clicking on **New Policy**.
3. Provide a suitable name for the policy if **New Policy** option is chosen.
4. Select **App Configurations** from **macOS** > **App Management**.
5. Select **Configure** option and then click on **+ Add New Configuration** button to choose the app to be configured.
6. Download the sample **XML** file to check the format followed in preparing an application configuration file.
7. Upload the required XML file for the selected app by clicking on **Choose File** option.
8. Go to **Policy Targets** tab and select the devices or device groups to which the policy is to be attached.
9. Click on **Save** option.

The sample XML file will be of the format given below:

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>AdsSettingForIntrusiveAdsSites</key> <integer>1</integer> <key>AllowedDomainsForApps</key> <string></string> <key>AuthNegotiateDelegateWhitelist</key> <string></string> <key>AutoFillEnabled</key> <true/> <key>AutofillAddressEnabled</key> <false/> <key>BuiltInDnsClientEnabled</key> <true/> <key>DefaultDownloadDirectory</key> <string></string> </dict> </plist> 

   1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

  <?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

 <dict>

 <key>AdsSettingForIntrusiveAdsSites</key>

 <integer>1</integer>

 <key>AllowedDomainsForApps</key>

 <string></string>

 <key>AuthNegotiateDelegateWhitelist</key>

 <string></string>

 <key>AutoFillEnabled</key>

 <true/>

 <key>AutofillAddressEnabled</key>

 <false/>

 <key>BuiltInDnsClientEnabled</key>

 <true/>

 <key>DefaultDownloadDirectory</key>

 <string></string>

 </dict>

</plist>