+# get the PAP_HOST from the command line
+read -p 'PAP_HOST : ' PAP_HOST
+
+# setting hostname to environment variable
+echo "export API_HOST=`hostname -I | awk '{print $1}'`" >> ~/.bashrc
+echo "export PAP_HOST=$PAP_HOST" >> ~/.bashrc
+source ~/.bashrc
+