serial port

hello
how to add a new serialport on arduino kmr1010 wifi
thank you?

The first thing you should know is that the serial port on pins 13 and 14 (Serial1) is a separate serial port from Serial.

If you still need another serial port, you can follow this tutorial:

if i want to put also i2c port?
thank you

There is already an I2C port on pins 11 and 12. Unlike serial (UART), you can share the I2C bus between many devices so it's unlikely you would need another one. However, the tutorial I linked above also applies to adding I2C and SPI interfaces.