This guide will walk you through deploying your first SWML script to handle incoming calls. By the end of this quickstart, you’ll have a working phone number that runs your SWML application.
Before you begin, make sure you have:
From your SignalWire Dashboard, click Script, then SWML script. This will open the New SWML Script dialog box.
Paste your SWML Script into the Primary Script field, then select Create.
If necessary, copy and paste the below example script:
Your script will be saved in the “My Resources” section under “Scripts”.
It will remain housed here under the name you provide for easy reference.
You can write and save new SWML scripts from the “RELAY/SWML” section of your Dashboard. In that section, switch to the tab named SWML Scripts. Once there, you can create a new SWML script:

After you save the SWML, navigate to the Phone Numbers page. Open the settings for a phone number you own (you may have to buy a new one), and configure it to handle incoming calls using the SWML script you just saved.

For SignalWire Spaces created before January 2025
Identify your Dashboard and select between Legacy and New UIs using the tabs below.

The new SignalWire Dashboard features a streamlined sidebar menu. Many items are now located in the unified My Resources menu.
Resources that were previously accessible in the sidebar of the legacy UI are now located in the unified My Resources menu.
Now that you’ve deployed your first SWML script, explore these resources: