A compound key attribute is an attribute whose primary key is made up by the combination of two or more columns. The multiple columns are joined with other attributes, typically in a many-to-many relationship.
To create a compound key, users must create multiple attribute forms, group them together and set the form group as the key for the attribute.
Use the same steps as specified in the help menu:

IMPORTANT NOTES:
Please refer to the Project Designer Guide for additional information on compound keys.