IDA treats a union as a special kind of struct, so you need to create it on IDA’s Structures page:

Step 1: Open the Structures page: image

Step 2: Press Insert and check union: image A union with no members looks like this: image

Step 3: Press D at the ends position to add a new member. The example below adds two members: image You can see that both members start at offset 0.

PS: If you want to add struct members, create a separate struct type first, then add it to the union.