Portal generator