# Add virtual foreign keys

To add a virtual foreign key:

1. Select the **Foreign keys** tab on the **Job configuration** panel.
2. On the **Foreign keys** tab, select the tables containing the **foreign key** and primary **key** columns.\
   You can also add composite **foreign keys** and **primary keys** by selecting multiple columns.
3. To confirm adding the virtual **foreign key** after having selected the primary and foreign keys, select **Add foreign key**.

<figure><img src="https://content.gitbook.com/content/U61B9DqtWCNO3Z30vnjh/blobs/dtimu9zOX6iZQZImVzSO/image.png" alt=""><figcaption><p>Example columns as keys</p></figcaption></figure>
