Is there a gap between the top or bottom edges of the keyboard and the surrounding case top that you could get a [product|IF145-259|Jimmy] in? If so there may be some clips in there that you can release to lift the keyboard out. But I suspect that the keyboard is integral with the case top, in which case you’d have to remove the motherboard and vrtually all the internals in order to fit them into a new case top. I presume you’ve found a source for a replacement keyboard? Does it look like the entire case top or just the keyboard itself?
But it seems this laptop was only released last year. If it’s under 12 months old you should be able to get it replaced under warranty, unless you spilled liquid on it.