The Flex keyboard and cover are attached magnetically. To detach the cover from the keyboard, hold one of the top corners of the keyboard with one hand, and with the other hand on the corresponding top corner of the cover, pull directly up. This will disengage the magnets holding the keyboard and cover together.