Create Integration

I want to create a config flow of switch devices, so what i need to do?