How to deploy your self-hosted thirdweb Engine on the Railway

In this support article, you'll learn how to deploy a self-hosted thirdweb engine on the Railway platform without any extra configuration in under 3 minutes.

Getting Started

  1. Login to thirdweb.com and get your secret key.
  1. Generate or use an existing wallet address as your admin wallet address.
  1. Deploy this template on the Railway platform. (Sign up for Railway you haven't already)
    1. Notion image
  1. Select the configure button for the Postgress; don't change anything. Let's proceed and select “Save Config.”
    1. Notion image
      Notion image
  1. After that, proceed to the thirdweb Engine service configuration. Fill out the information for the admin wallet address and secret key. When you're done, save the configuration, and you can now click deploy.
    1. Notion image
      Notion image
      Notion image
  1. Wait for it to finish the deployment of your self-hosted thirdweb Engine. Once done, look for the endpoint URL that you can use for your thirdweb engine dashboard.
    1. Notion image
  1. Try to visit your endpoint URL and you’ll see something below. This means that you successfully configure and set up your self-hosted thirdweb Engine.
    1. Notion image
  1. Copy the endpoint URL and paste it to your thirdweb Engine dashboard so you can manage your engine instance from the dashboard.
    1. Notion image
      Notion image
  1. Don't forget to create a backend wallet or import your existing wallet address as a backend wallet after importing the instance. This will help your engine to perform write functions.
  1. Lastly, head back to the API keys settings and use your endpoint URL as your allowed domain to prevent others from using your endpoint URL. Save it, and you're good to go!
    1. Notion image
  1. That's it! It is successfully working.
    1. Notion image

Can’t get this working? If you've followed the above and still have issues, contact our support team for help.

Did this answer your question?
😞
😐
🤩