This attaches with magnets. It stays connected quite well, yet is easy to remove when needed. Maybe a little pricey, but I think it's worth it. Had an aftermarket for my older tablet and lasted maybe 4 months. Not a guarantee, but believe this will last the tablet's lifespan.