diff --git a/getenvsetup.sh b/getenvsetup.sh
new file mode 100755
index 0000000000000000000000000000000000000000..cc906b21f62bc04d9604cc9dcd629e4946b28922
--- /dev/null
+++ b/getenvsetup.sh
@@ -0,0 +1,20 @@
+#!/bin/bash
+add-apt-repository universe
+apt update
+apt full-upgrade -y
+apt install git
+cd /root
+read -p "HTTP proxy (e.g. proxy:8080, enter to skip):" PROXY
+if [ -z "$PROXY" ]; then
+    git clone https://panel.ubicast.eu/git/mediaserver/envsetup.git -b stable
+else
+    git -c "http.proxy=$PROXY" clone https://panel.ubicast.eu/git/mediaserver/envsetup.git -b stable
+    git config --global http.sslVerify false
+    echo "SKYREACH_SSL_VERIFY='0'" >> /root/envsetup/conf.sh
+    echo "Remember to run this after this script completes:"
+    echo "export https_proxy='http://proxy:8080'"
+    echo "export http_proxy='http://proxy:8080'"
+fi
+cd envsetup
+read -p "Paste deployment key (e.g. XXX-XXX-XXX-XXX):" KEY
+echo "SKYREACH_ACTIVATION_KEY='$KEY'" >> /root/envsetup/conf.sh