Skip to main content
This page is for IT admins who deploy the Within desktop app to company computers. To understand more about the benefits of the desktop app, click here.
Need the detailed IT & Security Infosec Packet?Request access on trust.within.ai, then open the Within desktop app infosec guide.

Deploy the app from your MDM

Pick your platform, then follow the steps in order.
Before you install. Within runs on macOS 13 or later on Apple silicon.
1

Download the kit and the installer

Unzip the kit, move the PKG into the Within-IT-deployment-kit folder, then run these commands in that folder:
  • Every line of the first command ends in OK, including the line for the PKG.
  • The second command shows Notarization: trusted by the Apple notary service and names Developer ID Installer: Within Intelligence Inc. (T7764DPRQ7).
If the PKG line is missing or fails, a new version shipped between your two downloads. Download both files again.
2

Upload the configuration profiles

Configuration profiles make permissions simpler for each person. A person needs no administrator rights to allow Screen Recording, and macOS shows fewer notices.Upload each .mobileconfig file in the kit’s macOS folder as its own profile, at the device (computer) level. Deploy the profiles before the PKG.
The optional profile applies to every app on the Mac, not only Within. Ask your security team before you deploy it.
3

Add the PKG to your MDM

Add the PKG to your MDM, and assign it to the same Macs as the profiles. The PKG installs /Applications/Within.app for every user and runs no script.
4

Test on one Mac

  1. sudo profiles show -type configuration lists every profile you uploaded.
  2. /Applications/Within.app is there.
  3. A person who is not an administrator can open Within, sign in, and allow Screen Recording and the microphone.
5

Roll out

Widen the scope to the rest of your Macs. Nothing starts after the install, so tell each person to do three things once:
  1. Open Within.
  2. Sign in, in their browser.
  3. Allow Screen Recording and the microphone when macOS asks. No profile can grant these, so each person clicks Allow once.

Updating the app

The PKG and the MSI don’t update themselves. To update, deploy the newest installer over the installed one.
  • Download: the buttons on this page always give the newest version.
  • Releases: every version, with its date and SHA-256, is in releases.json. We tell your IT contact when a security fix ships.
  • macOS: the new PKG replaces the app, also while it is open. The person gets the new version after they quit Within and open it again.
  • Windows: the new MSI replaces the old one and closes a running copy, which ends that person’s session. Deploy it outside working hours. In Intune, set Uninstall previous version to No.
  • Older version: on macOS, deploy the older PKG. On Windows, uninstall, then install the older MSI.

Uninstall

  • macOS: run sudo sh uninstall-within.sh from the kit. It quits Within, resets its permissions and removes the app. Jamf Pro passes script options in parameters 4 and 5. Intune passes none, so set the options at the top of the script.
    • The option --remove-user-data also deletes every user’s Within settings and logs, and signs out the person who is signed in. You can’t undo it.
  • Windows: run msiexec /x "Within-<version>-x64.msi" /qn for the installed version.

Network and security tools

Apart from downloads.within.ai, these are the destinations that Companion already uses in the browser. If your firewall, proxy or VPN rules apply to each application, add Within: rules for the browser don’t cover it.Real-time media. Most connection problems have one cause: the call connects, but the screen and audio never arrive. Three rules prevent it:
  • Exempt TURN, STUN and ICE traffic from TLS inspection and deep packet inspection. To allow it is not enough.
  • Allow media by IP address, not by hostname. Daily publishes its IP ranges at https://ip-info.daily.co/ips/ip-info.json.
  • Allow both relay providers, Cloudflare and Twilio.
Daily’s corporate firewall guide is the full reference. To confirm that a network works, run Test your setup on the corporate network and with the VPN on.Proxies and TLS inspection. The app uses the operating system’s proxy settings, including PAC files, and its certificate store. TLS inspection with your corporate root certificate works for the app’s HTTPS traffic. Only the real-time media needs an exemption.
Allow Within by signer, not by file hash or path. Hashes change with every release.
  • On Windows, use publisher rules in App Control for Business (WDAC) or AppLocker, and signer exclusions in your EDR.
  • An EDR can flag these behaviours, and all are expected: screen capture, microphone and system audio capture, outbound WebRTC traffic over UDP, and just-in-time compiled JavaScript.
  • If your tool needs file hashes, the SHA-256 of each installer is in the kit’s SHA256SUMS.txt and in releases.json.

Frequently asked questions

No. macOS doesn’t let any profile grant Screen Recording. The Screen Recording profile lets a person who is not an administrator click Allow, once.
Not after the install. Within registers a login item when a person saves a schedule. The login-items profile approves that login item, so macOS adds it without a notice.
Intel Macs, Windows on Arm and Windows in S mode. For a virtual desktop, see the Virtual desktops tab in Deploy the app from your MDM.
Any MDM that installs a PKG or an MSI and deploys configuration profiles. Examples are Intune, Jamf Pro, Addigy, Kandji, Mosyle and Configuration Manager.
Need help? Use the in-app chat — click the chat bubble in the bottom-right corner of Within (staffed 24×5) — or email support@within.ai.