Shortcuts app for iOS is a very useful way to automate your iPhone or iPad. Last week, we looked at creating a simple RSS reader using the app. But that’s not the only thing Shortcuts is good at. Another adjustment that can come in handy is administration your Wi-Fi countersign as a QR code. Here’s how you can do it.

The screenshots below accord to Shortcuts app for iOS 13 Beta 2. But the steps you need to follow are absolutely the same.

Step #1: Download the Shortcuts app from the App Store, if you haven’t done so already.

Step #2: Open the app, and in the My Shortcuts (Library in iOS 12) tab, hit “ ” on top to create a new shortcut.

webrok

Step #3: Tap the “Settings” icon, and give the adjustment a name, for example, “Share Wi-Fi.” You can also tap the “Icon” to change it to article that matches your shortcut’s action better.

webrok

Step #4: The first step is to get the arrangement details. You can do this by adding the “Get Arrangement Details” action. Since it’s Wi-Fi, you need to select the “Network” as “Wi-Fi“, and in the “Get” field, select “Network Name.”

webrok

Step #5: The next step is to accommodate the agnate password. This can be done in a number of ways. You could write out the Wi-Fi countersign as text. If you want to do this, you’ll need to add a “Text” action, and then the password.

Alternatively, you could make the adjustment prompt you to enter the countersign every time you run it. To do this, you can add an “Ask for Input” action. In the “Ask” field, you can specify the question, for example, “Enter the Wi-Fi password.”

webrok

Step #6: In order to accomplish QR code for a Wi-Fi network, you’ll need to create a new string that follows the afterward format: WIFI:T:WPA;S:<your Wi-Fi arrangement name>;P:<your Wi-Fi arrangement password>;;

“T” stands for the affidavit type (WPA or WEP), “S” stands for the arrangement name, and “P” stands for the password. The order of the fields doesn’t matter.

But since we already have the Wi-Fi arrangement name and countersign from steps #4 and #5, you just need to specify them by selecting the variables “Network Details” and “Ask for Input” from the options listed at the bottom.

webrok

Step #7: Once you have created the string, you can accomplish the QR code using the “Generate QR Code” action. You can also specify the “Error Correction” option to Low, Medium, Quartile, or High, which will give you the option to fine-tune the adequacy to restore data if the code gets damaged.

webrok

Step #8: Next add a “Quick Look” action to examination the output. This will allow you to view the generated QR code.

webrok

Step #9: The adjustment is complete. You can now run the adjustment by hitting the “Play” button. In iOS 12, it’s amid on top.

Read next: How Amazon FBA can help you launch a acknowledged e-commerce business