There is not just one answer to this, but rather a combination of many things that we do to allow us to be "swallowed up in the will of the Father." What will allow us to enter the "Pearly Gates" is our actions and the direction we are heading. If we strive to do our best, it will allow the Atonement of Jesus Christ to cleanse us so we can enter therein.
Scripturally I think these verses help us to understand how we can submit ourselves to the Father's will. We must become like Jesus Christ as 1 John 3:2-3 explains:
2 Beloved, now are we the sons of God, and it doth not yet appear what we shall be: but we know that, when he shall appear, we shall be like him; for we shall see him as he is.
3 And every man that hath this hope in him purifieth himself, even as he is pure.
and within the Book of Mormon, Moroni 7:47-48,
47 But charity is the pure love of Christ, and it endureth forever; and whoso is found possessed of it at the last day, it shall be well with him.
48 Wherefore, my beloved brethren, pray unto the Father with all the energy of heart, that ye may be filled with this love, which he hath bestowed upon all who are true followers of his Son, Jesus Christ; that ye may become the sons of God; that when he shall appear we shall be like him, for we shall see him as he is; that we may have this hope; that we may be purified even as he is pure. Amen.
After a great sermon was given by the Prophet King Benjamin, in the Book of Mormon, his people said the following:
2 And they all cried with one voice, saying: Yea, we believe all the words which thou hast spoken unto us; and also, we know of their surety and truth, because of the Spirit of the Lord Omnipotent, which has wrought a mighty change in us, or in our hearts, that we have no more disposition to do evil, but to do good continually.
These individuals were changed by the Word of God, so much so they had no more desire to do evil and were will to subject themselves to the Will of the Father.
5 And we are willing to enter into a covenant with our God to do his will, and to be obedient to his commandments in all things that he shall command us, all the remainder of our days, that we may not bring upon ourselves a never-ending torment, as has been spoken by the angel, that we may not drink out of the cup of the wrath of God.
King Benjamin was thrilled, as this was the reaction he wanted:
7 And now, because of the covenant which ye have made ye shall be called the children of Christ, his sons, and his daughters; for behold, this day he hath spiritually begotten you; for ye say that your hearts are changed through faith on his name; therefore, ye are born of him and have become his sons and his daughters.
8 And under this head ye are made free, and there is no other head whereby ye can be made free. There is no other name given whereby salvation cometh; therefore, I would that ye should take upon you the name of Christ, all you that have entered into the covenant with God that ye should be obedient unto the end of your lives.
9 And it shall come to pass that whosoever doeth this shall be found at the right hand of God, for he shall know the name by which he is called; for he shall be called by the name of Christ.
We will not be allowed to enter the "Pearly Gates" of Heaven just because we belong to The Church of Jesus Christ of Latter-day Saints. It takes purification and sanctification by the Power of the Atonment of Christ.
The Prophet Alma taught:
32 For behold, this life is the time for men to prepare to meet God; yea, behold the day of this life is the day for men to perform their labors.
33 And now, as I said unto you before, as ye have had so many witnesses, therefore, I beseech of you that ye do not procrastinate the day of your repentance until the end; for after this day of life, which is given us to prepare for eternity, behold, if we do not improve our time while in this life, then cometh the night of darkness wherein there can be no labor performed.
I would recommend you read the first bullet point under additional reading, this is the most recent sermon on this topic, given by an Apostle of the Lord.