KPI & bam in bonita community

what is kpi and bam ?
how can i used the kpi in community