How to use a virtual home button instead of the iPhone X’s gestures

The Verge article is worth a quick read, good to know about. And you might also want to check out Apple’s official AssistiveTouch support page.