Deployment
Deployment is the process of making a widget available for use via a URL. py.space widgets are deployed by default.
API URLs
APIs have a URL that other applications can send requests to. You can find the API’s URL at the bottom right of the widget editor.
![Annotated image of the editor with the URL highlighted in the bottom right.](/docs/reference/img/deployment/url-in-editor.png)
The URL for an API widget
For information on custom domains, see the documentation here.
GUI URLs
If you want to deploy your GUI online, click the Publish button at the bottom right of the widget editor.
![Annotated image of the editor with the Publish button at the bottom right of the widget editor.](/docs/reference/img/deployment/gui-before-deployment.png)
The Publish button at the bottom right of the widget editor
Then you can find the URL that opens your GUI as a website at the bottom right of the widget editor.
![Annotated image of the editor with the URL highlighted in the bottom right.](/docs/reference/img/deployment/gui-deployed.png)
The URL for a GUI widget
For information on custom domains, see the documentation here.
Custom Domains
If you want a custom domain for your GUI or API, open your widget in Anvil. From there, you can add your own custom domain with a Hobby Plan or above - check out Anvil’s documentation for more information.
Deploying On Your Own Hardware
py.space widgets are entirely online, in the browser and deployed by default. You may want to deploy code on your own server or infrastructure. You can do this by opening your widget in Anvil and deploying the Anvil app with the open source app server.
Where Are py.space’s Servers?
py.space infrastructure currently lives in London (AWS eu-west-2).
Do you still have questions?
Our Community Forum is full of helpful information and friendly experts.