Integrate raft and initialize.