Depending on your level and learnability, you can opt for an integration course or state exam. If you cannot read or write yet, you must first alphabetize.
Are you from outside of Europe? And do you want to live and work in the Netherlands? Then you have to integrate. Integration is learning the language and knowing how certain things are going in the Netherlands. That is why you have to pass the integration exam. You can integrate with the integration exam or with the state exam.