The word "that" must be understood in the sense of cause, namely thus: "because" His commandment is to believe. Since we have the commandment to believe in the name of Jesus Christ, His Son, and to love one another, and we have done this, from this we also know that the grace of His Spirit, Whom He gave us, has been established in us. It must be known that the expression "to believe in the name" of our Lord is used in many places of Scripture. What then does "name" mean? Of course, nothing other than His will, glory, honor. For example, in the words "great is Your name in all the earth" (Ps. 8...:2) it means glory and honor, and in the words "repent, and let each of you be baptized in the name of Jesus Christ" (Acts 2:38) it means His will. And what is the will of the Lord Jesus? To baptize all nations "in the name of the Father and of the Son and of the Holy Spirit" (Matt. 28:19).
Source: Commentary on 1 John