Creating a context and define context variables in it
The following example will demonstrate how to use the Repository context wizard to create a context that contains two context environments named Prod and Test and define a set of variables, host, port, database, username, password, and table, under the two context environments in the Repository, for reuse in database handling Jobs.
![Create / Edit context wizard.](/en-US/studio-user-guide/8.0-R2024-07/Content/Resources/images/studio-repository-context-wizard.png)
Once you created and adapted as many context environments and variables as you want, click Finish to validate. The context displays under the Contexts node in the Repository tree view. You can further edit the context, context environments, and context variables in the wizard by right-clicking the context node and selecting Edit context from the contextual menu.