Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 19 additions & 18 deletions docs/adguard-vpn-for-ios/features/shortcuts.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Shortcuts
sidebar_position: 1
sidebar_label: Shortcuts
---
Shortcuts, a tool built into iOS, makes it easy to manage your connections without opening AdGuard VPN. You can place a *Connect* or *Disconnect* shortcut on your Home Screen, in Control Center, or a in a widget, or set up a Siri phrase to connect with your voice.
Shortcuts, a tool built into iOS, makes it easy to manage your connections without opening AdGuard VPN. You can place a *Connect*, *Disconnect*, or *Toggle VPN* shortcut on your Home Screen, in Control Center, or in a widget, or set up a Siri phrase to connect with your voice.

Shortcuts can also include more complex automations. For example, your banking app might not work with a VPN on, but you always want it on for Instagram, or you want your VPN to turn off automatically on home Wi-Fi. Shortcuts lets you automate these scenarios.

Expand All @@ -17,66 +17,67 @@ Make sure that:

## Connect or disconnect in one tap

AdGuard VPN provides two ready-made shortcuts: *Connect* and *Disconnect*. *Connect* turns on the VPN and connects to your last used location. *Disconnect* turns off the VPN. You’ll find both under *App Shortcuts* in the Shortcuts app. Add either one to any of the three places listed below.
AdGuard VPN provides three ready-made shortcuts: *Connect*, *Disconnect*, *Toggle VPN*. *Connect* turns on the VPN and connects to your last used location. *Disconnect* turns off the VPN. *Toggle VPN* switches between the two: it connects when the VPN is off and disconnects when it’s on. You’ll find these shortcuts under *App Shortcuts* in the Shortcuts app. Add any of them to the three places listed below.

### Home Screen

To set up a shortcut on your Home Screen, follow the quick instructions in the AdGuard VPN app. (*Settings* → *Shortcuts* → *Add shortcuts to the Home Screen*).

![In-app instructions *mobile_border](https://cdn.adtidy.org/content/kb/vpn/ios/shortcuts/in-app-home-screen.png)
![In-app instructions *mobile_border](https://cdn.adtidy.org/content/kb/vpn/ios/shortcuts/in_app_instructions.png)

The instructions differ on older iOS versions. Here are the instructions for iOS 16:
Instructions vary across iOS versions. Here are the instructions for iOS 26:

1. Go to the Shortcuts app and tap the plus (+) button.
2. Tap *Add Action*, go to *Apps* and select *AdGuard VPN*.
3. Choose *Manage VPN connection* and on the following screen, tap *Add to Shortcut*, and *Turn VPN connection On*.
2. Select *AdGuard VPN*.
3. Choose the shortcut you need: *Connect to VPN*, *Disconnect from VPN*, *Toggle VPN connection*, or *VPN status*.

![Add shortcut](https://cdn.adtidy.org/content/kb/vpn/ios/shortcuts/shortcut-combined.png)
![Add shortcut](https://cdn.adtidy.org/content/kb/vpn/ios/shortcuts/add_shortcut.png)

Here’s how to add the shortcut to your Home Screen.

1. Long press the shortcut and tap *Share* → *Add to Home Screen*.
2. Customize the shortcut name and icon if you need to, then tap *Add*. The shortcut will appear on your Home Screen as a 1x1 icon.
![Add to Home Screen](https://cdn.adtidy.org/content/kb/vpn/ios/shortcuts/homescreen-combined.png)

### Control Сenter
![Add to Home Screen](https://cdn.adtidy.org/content/kb/vpn/ios/shortcuts/add_to_home_screen.png)

### Control Center

You can add an AdGuard VPN shortcut to the Control Center for quick access from anywhere on the device.

1. Open Control Сenter. On an iPhone with Face ID, swipe down from the top right. On an iPhone with a Home button, swipe up from the bottom.
1. Open Control Center. On an iPhone with Face ID, swipe down from the top right. On an iPhone with a Home button, swipe up from the bottom.
2. Long-press an empty area and tap *Add a Control*.
3. Find *Shortcuts* in the list and tap *Run Shortcut*, then tap *Choose* and select your AdGuard VPN shortcut. The shortcut will now appear in your Control Center.

Note: The exact steps may vary depending on your iOS version.

![Add shortcut to Control Center](https://cdn.adtidy.org/content/kb/vpn/ios/shortcuts/control-center-combined.png)
![Add shortcut to Control Center](https://cdn.adtidy.org/content/kb/vpn/ios/shortcuts/add_to_control_center.png)

### Widget

1. Long-press an empty area on your Home Screen until the apps jiggle, then tap *Edit* in the top-left corner → *Add Widget*.
2. Find *Shortcuts* in the list and choose a widget size. We recommend that you pick one that can display at least two shortcuts.
3. Tap *Add Widget*.
4. While in edit mode, tap the widget to open the configuration menu, set *Folder* to *Custom*, and assign *Connect* to one slot and *Disconnect* to the other.
4. While in edit mode, tap the widget to open the configuration menu, set *Folder* to *Custom*, and assign *Connect to VPN* to one slot and *Disconnect from VPN* to the other.

![Add shortcut as widget](https://cdn.adtidy.org/content/kb/vpn/ios/shortcuts/widgets-combined.png)
![Add shortcut as widget](https://cdn.adtidy.org/content/kb/vpn/ios/shortcuts/widget.png)

## One tap to open any app with VPN on

If you need the VPN on for a certain app and nothing else, you can create a custom shortcut that will turn on AdGuard VPN and open the app you want to open — all in one tap. Here’s how to set it up.

1. Open the Shortcuts app, tap the plus (+) button, and search for AdGuard VPN. Add the *VPN status* action.
2. Add an If action. Inside it, add *Open App* and set it to the app you want — for example, YouTube.
3. Under *Otherwise*, add three actions in order: *AdGuard VPN* → *Turn VPN Connection On*, *Wait* (set to 2 seconds), and *Open App* (same app as above).
2. Add an *If* action. Shortcuts fills the condition in for you: it takes the VPN status from the previous step and compares it with *Connected*. Inside it, add *Open App* and set it to the app you want — for example, YouTube.
3. Under *Otherwise*, add three actions in order: *AdGuard VPN* → *Connect to VPN*, *Wait* (set to 2 seconds), and *Open App* (same app as above).
4. Tap the name at the top to set a custom icon and name, then test the shortcut with the play button.
5. Add the shortcut to the Home Screen by tapping the name and selecting *Add to Home Screen*.

![Add custom shortcut](https://cdn.adtidy.org/content/kb/vpn/ios/shortcuts/custom-shortcut-combined.png)
![Add custom shortcut](https://cdn.adtidy.org/content/kb/vpn/ios/shortcuts/add_custom_shortcut.png)

## Connect or disconnect with Siri

In the AdGuard VPN app, go to *General* → *Shortcuts* → *Set up Siri phrases*. You will then have two options: *Record a phrase to connect* or *Record a phrase to disconnect*.
In the AdGuard VPN app, go to *Settings* → *Shortcuts* → *Set up Siri phrases*. You will then have two options: *Record a phrase to connect* or *Record a phrase to disconnect*.

![Connect with Siri](https://cdn.adtidy.org/content/kb/vpn/ios/shortcuts/siri-combined.png)
![Connect with Siri](https://cdn.adtidy.org/content/release_notes/vpn/ios/v2.17/siri_connect.png)

Choose *Record a phrase to connect* or *Record a phrase to disconnect*, then say the phrase you want, for example “Hey Siri, connect to AdGuard VPN.” Once recorded, say the same phrase to Siri any time to run it.

Expand Down
Loading