Embedded Admin Portal Integration (Vue.js)


Prerequisite: Complete Frontegg Authentication integration

If you haven't integrated Frontegg Authentication into your application, please integrate it before moving to Admin Portal integration. Read about how to add Frontegg to your application.

Admin Portal Integration

For Frontegg admin portal integration, we will import the openAdminPortal method from the @frontegg/vue package and use it when clicking the relevant button.

  <div id="app" v-if="fronteggLoaded">
    <img alt="Vue logo" src="./assets/logo.png" />
      Logged in as
      {{ this.authState.user ? this.authState.user.email : "Not logged in" }}
    <button v-on:click="showAdminPortal">Open admin portal</button>

import { AdminPortal } from "@frontegg/vue";

export default {
  name: "App",
  components: {
  data() {
    return {
  methods: {
    showAdminPortal() {

You are good to go! You should now see the admin portal in your application and be able to use our full self-served experience with your product.