This post explains how to setup a text input parameter for your Databricks Notebooks.
First you need to setup dbutils.
dbutils.widgets.text("<NAME>", "<LABEL>", "<NAME OF CALLING PROCESS>")
Get Argument
variable = dbutils.widgets.getArgument("<NAME>")