Using the website
Connect a device
Link the BASTION app on a phone or tablet to your account, and add a PTG library.
How a device connects
Each device connects with its own device token. A token is a long secret that stands in for a password, made for that one device.
- Your account password never goes on a device.
- Each device has its own token, so you can cut off one device without touching the others.
- You can connect as many devices as you like.
Create a device token
- Open Devices.
- Optionally type a name for the device, such as "Field tablet". This is only so you can recognise it later.
- Choose Create device token.
- The token appears once, with a QR code.
Then, in the BASTION app, do one of these:
- Scan the QR code. This fills in every connection field in one step. It's the easiest way.
- Type it in. Enter the fields from Connection settings on the Devices page, and paste the token as the password.
Choose Done when the device is connected. After that the token can't be shown again. If you lose it before connecting, revoke it and create another.
Connection settings
The Devices page lists the settings every one of your devices uses:
| Setting | What it is |
|---|---|
| Server | The address of this service |
| Port | The port the app connects on |
| Transport | How the app talks to the server |
| Authentication | Password (the device token goes in the password field) |
| Username | Your account's storage name |
| Remote path | Where your content lives on the server |
These never change and are not secret. Only the token is.
Sync
After a device is connected, open the app and sync. The device:
- downloads anything in My files it doesn't have yet;
- downloads any map packs you've built;
- uploads its assistance reports.
Sync never deletes content from a device. If you delete a file on the website, devices that already have it keep their copy.
Lost or replaced a device
On the Devices page, choose Revoke next to that device's token. It stops working immediately. Your other devices are unaffected.
To connect a replacement, create a new token for it.
Add a PTG curated library
PTG curated libraries are ready-made collections you can add alongside your own files. You unlock one with an access code, which you get from the Pricing page or from PTG directly.
- Open Devices and find PTG library access.
- Enter your access code and, optionally, a device name.
- Choose Redeem.
- A QR code and token appear once. In the BASTION app, add it as a separate library source. Scanning the QR code fills everything in.
Things to know:
- One access code unlocks the library on one device.
- The library shows in the app as its own source, alongside your personal files.
- It doesn't count against your storage plan on the server. On the device it takes up space like anything else you sync.
- If you move to a new device, use Re-issue to get a fresh code for the same library access. Revoke removes it.