Select the Anvil Uplink in the Gear Menu Gear Icon:

The Gear Menu with Uplink highlighted.

You’ll see this dialog:

Uplink dialog showing the Enable Uplink button.

Click the green ‘Enable Uplink’ button. It will display an authentication key that you will use to connect your code to your app.

The Uplink dialog with the Uplink enabled and the key displayed.