Baptism in the name of Jesus Christ is the gate that leads to the Way. The Book of Mormon teaches this more clearly:
For the gate by which ye should enter is repentance and baptism by water; and then cometh a remission of your sins by fire and by the Holy Ghost. And then are ye in this strait and narrow path which leads to eternal life; yea, ye have entered in by the gate; ye have done according to the commandments of the Father and the Son; and ye have received the Holy Ghost, which witnesses of the Father and the Son, unto the fulfilling of the promise which he hath made, that if ye entered in by the way ye should receive (2 Nephi 31:17-18; pg 114).
Once we have entered the path, we must continue on the path that leads to Eternal Life. Mormons call this enduring to the end. Again, the Book of Mormon gives us a good explanation of what this means.
sermon outlines